kieran-mackle / AutoTrader

A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
https://kieran-mackle.github.io/AutoTrader/
GNU General Public License v3.0
1.01k stars 230 forks source link

Crash raise ValueError("No objects to concatenate") #71

Open SergKlein opened 1 year ago

SergKlein commented 1 year ago

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()

SW4T400 commented 1 year ago

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

trivalent commented 11 months ago

+1 observing the same thing...