Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected keyword argument 'strategy_filename' #64

Closed
mikmolefe opened this issue Oct 26, 2022 · 1 comment
Closed

unexpected keyword argument 'strategy_filename' #64

mikmolefe opened this issue Oct 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@mikmolefe
Copy link

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 kieran-mackle added the bug Something isn't working label Oct 26, 2022
@kieran-mackle
Copy link
Owner

Hi @mikmolefe,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants