kieran-mackle / AutoTrader

A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.

Home Page:https://kieran-mackle.github.io/AutoTrader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't use crypto exchange as feed?

bitcoin4cashqc opened this issue · comments

Describe the bug
Can't use CCXT:BITGET as a feed

To Reproduce
Set config as expected in config/keys.yaml
Run runfile.py with feed="ccxt:bitget"

Expected behavior
Crypto Data provided by ccxt and bitget? I tried binance and kraken too as feed.

Version of AutoTrader being used
Latest

Additional context
Full log : Traceback (most recent call last): File "/home/ubuntu/autotrader-demo/runfile.py", line 15, in <module> at.run() File "/home/ubuntu/.local/lib/python3.10/site-packages/autotrader/autotrader.py", line 1142, in run self._main() File "/home/ubuntu/.local/lib/python3.10/site-packages/autotrader/autotrader.py", line 1613, in _main bot = AutoTraderBot( File "/home/ubuntu/.local/lib/python3.10/site-packages/autotrader/autobot.py", line 223, in __init__ self._refresh_data(deploy_dt) File "/home/ubuntu/.local/lib/python3.10/site-packages/autotrader/autobot.py", line 449, in _refresh_data data, multi_data, quote_data, auxdata = self.Stream.refresh(timestamp=timestamp) File "/home/ubuntu/.local/lib/python3.10/site-packages/autotrader/utilities.py", line 1147, in refresh data_func = getattr(self.get_data, f"_{self.feed.lower()}") AttributeError: 'AutoData' object has no attribute '_ccxt:bitget'