alpaca-backtrader-api icon indicating copy to clipboard operation
alpaca-backtrader-api copied to clipboard

backtest not going back far enough

Open alias-noa opened this issue 3 years ago • 2 comments

I'm trying to run the strategy_multiple_datas sample and I have Alpaca Pro and using the default date for the backtest which is 1/1/2015, but it's only going back a few months from present date. I changed 'iex' to 'sip' for the data_feed parameter, and it changes nothing. Does the same exact thing. I'm using 1-day candles so I feel like it should really go back further. Does it work right for anyone else?

alias-noa avatar Jan 07 '22 00:01 alias-noa

How did you manage to run it? Aren't you running into matplotlib and pandas errors on runtime?

konradsemsch avatar Jan 12 '22 17:01 konradsemsch

@alias-noa and to echo/expand upon what @konradsemsch is saying, please post a copy of the code you are using, and the error message so we can see a bit of what you are seeing.

datatalking avatar Jun 27 '22 08:06 datatalking