You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/ebisu$ python3 main.py --strategy strategy
Traceback (most recent call last):
File "/home/ooo/ebisu/src/factory.py", line 16, in create
cls = getattr(strategy, args.strategy)
AttributeError: module 'src.strategy' has no attribute 'strategy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 20, in
bot = BotFactory.create(args)
File "/home/ooo/ebisu/src/factory.py", line 24, in create
raise Exception(f"Not Found Strategy : {args.strategy}")
Exception: Not Found Strategy : strategy
I can't solve this.. help plz
The text was updated successfully, but these errors were encountered:
you used the wrong input argument for strategy. look at strategy.py for the list of prebuilt strategy, and your command should look like this python main.py --strategy OCC
you can replace OCC with the prebuilt strategy such as Doten, SMA, Rci
~/ebisu$ python3 main.py --strategy strategy
Traceback (most recent call last):
File "/home/ooo/ebisu/src/factory.py", line 16, in create
cls = getattr(strategy, args.strategy)
AttributeError: module 'src.strategy' has no attribute 'strategy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 20, in
bot = BotFactory.create(args)
File "/home/ooo/ebisu/src/factory.py", line 24, in create
raise Exception(f"Not Found Strategy : {args.strategy}")
Exception: Not Found Strategy : strategy
I can't solve this.. help plz
The text was updated successfully, but these errors were encountered: