Indicators to see price change ?
MathieuCesbron last edited by
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 ?