AutoTrader icon indicating copy to clipboard operation
AutoTrader copied to clipboard

Crash raise ValueError("No objects to concatenate")

Open SergKlein opened this issue 2 years ago • 2 comments

Have the issue:

File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pandas/core/reshape/concat.py", line 403, in init raise ValueError("No objects to concatenate")

Just try to run next:

from autotrader import AutoTrader

Create AutoTrader instance, configure it, and run backtest

at = AutoTrader() at.configure(verbosity=1, show_plot=True, feed='yahoo') at.add_strategy('long_ema_crossover') at.backtest(start = '1/9/2022', end = '1/10/2022') at.virtual_account_config(initial_balance=1000, leverage = 1000) at.run()

SergKlein avatar Dec 20 '22 07:12 SergKlein

I get the same thing (on both my IDEs - spyder and VScode)

SW4T400 avatar Nov 12 '23 10:11 SW4T400

+1 observing the same thing...

trivalent avatar Dec 11 '23 16:12 trivalent