Open marianolatorre opened 10 months ago
same issue here, any update?
same issue here, any uppate?
I believe when there is too much data on the graph to be shown, the data is resampled and then shown (which is the default behaviour), and then I got the same error.
What worked for me was passing bt.plot(resample=False)
while plotting the graph.
Expected Behavior
Plot backtest results using data from yfinance
Actual Behavior
Getting error code
Steps to Reproduce
Please see the colab link https://colab.research.google.com/drive/1R4JjhkdSi47QQI2gV7QUZXsYzY2-ihrr?usp=sharing
I'm learning to use the library and following the examples in the website which are based on data from GOOG. I wanted to swap the data to BTC from yfinance which works well when running the backtester but it breaks when plotting the chart.
Apart from the index named "Datetime" I can't see any other difference.