For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Indicators to see price change ?
-
Hello everyone,
Backtrader give us the ability to have the starting balance and the final balance easily, I was looking for a way to have the starting price of the asset and the final one quite easily and print him.
I would like to have an output like this :
starting balance : 1000
final balance : 1200
balance change : +20%
market change : +5%In this exemple we se that the strategy is ouperforming the market (for exemple). It's easy to print the first 3 but I can't figure a way to print the market change, can you help me ?
Thanks !
-