> python bot.py
init BTC-USDC Symbol: BTC-USDC
Time: 1656588885.4667468
Resolution: 900.0
Variables:
{}
Exception in thread Thread-1 (main):
Traceback (most recent call last):
File "/Users/timborden/.pyenv/versions/3.10.1/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/Users/timborden/.pyenv/versions/3.10.1/lib/python3.10/threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "/Users/timborden/.pyenv/versions/terry-peterson/lib/python3.10/site-packages/blankly/frameworks/strategy/strategy.py", line 156, in main
self.run_live()
File "/Users/timborden/.pyenv/versions/terry-peterson/lib/python3.10/site-packages/blankly/frameworks/strategy/strategy.py", line 202, in run_live
self.ticker_manager.restart_ticker(i[0], i[1])
File "/Users/timborden/.pyenv/versions/terry-peterson/lib/python3.10/site-packages/blankly/exchanges/managers/websocket_manager.py", line 156, in restart_ticker
websocket = self.__evaluate_overrides(override_symbol, override_exchange)
File "/Users/timborden/.pyenv/versions/terry-peterson/lib/python3.10/site-packages/blankly/exchanges/managers/websocket_manager.py", line 62, in __evaluate_overrides
return self.websockets[exchange][currency_id]
KeyError: 'BTC-USDC'
Traceback (most recent call last):
File "/Users/timborden/.pyenv/versions/terry-peterson/lib/python3.10/site-packages/blankly/utils/scheduler.py", line 128, in __threading_wait
func(**kwargs)
File "/Users/timborden/.pyenv/versions/terry-peterson/lib/python3.10/site-packages/blankly/frameworks/strategy/strategy.py", line 92, in rest_event
data = self.interface.get_price(symbol)
File "/Users/timborden/.pyenv/versions/terry-peterson/lib/python3.10/site-packages/blankly/exchanges/interfaces/kucoin/kucoin_interface.py", line 620, in get_price
if 'msg' in response:
TypeError: argument of type 'NoneType' is not iterable
^CException ignored in: <module 'threading' from '/Users/timborden/.pyenv/versions/3.10.1/lib/python3.10/threading.py'>
Traceback (most recent call last):
File "/Users/timborden/.pyenv/versions/3.10.1/lib/python3.10/threading.py", line 1560, in _shutdown
lock.acquire()
KeyboardInterrupt:
Description
Having issues getting started with Blankly + Kucoin
settings.json
Error (if applicable)
Platform Info
Additional context - bot.py