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
937 stars 215 forks source link

unexpected keyword argument 'strategy_filename' #64

Closed mikmolefe closed 1 year ago

mikmolefe commented 1 year ago

Hi, Running demo run_scan.py for autotrader-0.9.1 returns the following error for macd strattegy:

raceback (most recent call last): File "run_scan.py", line 12, in at.run() File "/home/kgori/.local/lib/python3.8/site-packages/autotrader/autotrader.py", line 933, in run self.add_strategy(strategy_filename=strat_config_file) TypeError: add_strategy() got an unexpected keyword argument 'strategy_filename'

Thanks

kieran-mackle commented 1 year ago

Hi @mikmolefe,

I've just updated the example file and tested it - should all be working now.