For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Number of decimals in plot axes / data labels
-
Hello, I've been learning backtrader for a couple of days. It seems it is going to be a powerful tool in my work.
However I couldn't find a way of changing decimals to show on the plot axes. I'm building a strategy based on EURUSD exchange. I need 4 decimals and the default is 2. The same for the last data value on the labels.
Please help.
-
I would think that if you sent 4 decimals INTO Bactrader it would remain like that.
so it does not?
-
The data keeps the 4 decimals but not the plot by default.
In[4] cerebro.datas[0].close[0] In[5] 1.00898 In[6] cerebro.plot()