kieran-mackle / AutoTrader

A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
https://kieran-mackle.github.io/AutoTrader/
GNU General Public License v3.0
937 stars 216 forks source link

Can't use crypto exchange as feed? #93

Closed bitcoin4cashqc closed 5 months ago

bitcoin4cashqc commented 8 months ago

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'