Closed Tyler-Dunham closed 1 week ago
I was receiving the same error too. I had an issue with my code where I was calling the trader.run_all()
incorrectly.
Try running this example exactly as it is. This worked for me just now: Lumiwealth Backtesting
@Tyler-Dunham @seans11 this bug is fixed now, please upgrade to v3.7.3
I am trying to use YahooDataBacktesting and keep getting this error:
Please set
thetadata_usernameand
thetadata_passwordin the backtest() function if you are using ThetaDataBacktesting
I am simply not using ThetaDataBacktesting. This is coming from Strategy.backtest() and passing in any datasource_class returns the same error.
BuyHold.backtest(YahooDataBacktesting, start, end)