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
(venv) [root@iZbp13hsmske2ra9ukl7qnZ trader]# python trader/main.py
Big Brother is watching you!
used config file: /root/.config/trader/config.ini
log stored in: /root/.cache/trader/log
pid file: /root/.cache/trader/trader.pid
Traceback (most recent call last):
File "/root/trader/trader/main.py", line 77, in
TradeStrategy(name='大哥2.2').run()
File "/root/trader/trader/strategy/brother2.py", line 45, in init
self.__strategy = Strategy.objects.get(name=name)
File "/root/trader/venv/lib/python3.10/site-packages/django/db/models/manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/root/trader/venv/lib/python3.10/site-packages/django/db/models/query.py", line 649, in get
raise self.model.DoesNotExist(
panel.models.DoesNotExist: Strategy matching query does not exist.
The text was updated successfully, but these errors were encountered:
(venv) [root@iZbp13hsmske2ra9ukl7qnZ trader]# python trader/main.py
Big Brother is watching you!
used config file: /root/.config/trader/config.ini
log stored in: /root/.cache/trader/log
pid file: /root/.cache/trader/trader.pid
Traceback (most recent call last):
File "/root/trader/trader/main.py", line 77, in
TradeStrategy(name='大哥2.2').run()
File "/root/trader/trader/strategy/brother2.py", line 45, in init
self.__strategy = Strategy.objects.get(name=name)
File "/root/trader/venv/lib/python3.10/site-packages/django/db/models/manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/root/trader/venv/lib/python3.10/site-packages/django/db/models/query.py", line 649, in get
raise self.model.DoesNotExist(
panel.models.DoesNotExist: Strategy matching query does not exist.
The text was updated successfully, but these errors were encountered: