Open jzay opened 6 years ago
Catalyst currently supports these exchanges. We hope to add more exchanges (which are supported by ccxt) in the near future.
@AvishaiW Could you point me in the right direction for how I could fix the Bitstamp data to work with catalyst? Does each exchange require a different implementation even though your are using the CCXT library?
I am unable to run the live trading for catalyst through Bitstamp. I was able to get it working on other exchanges but, have been receiving errors presumably from CCXT when trying to run live with Bitstamp. I was told this is potentially a problem with the catalyst wrapper around CCXT and to post my error here for further analysis. Thanks the error is below.
File "catalyst/_protocol.pyx", line 120, in catalyst._protocol.check_parameters.call.assert_keywords_and_call File "catalyst/_protocol.pyx", line 633, in catalyst._protocol.BarData.history File "/Users/mac/miniconda3/envs/catalystupdate/lib/python3.6/site-packages/catalyst/exchange/exchange_data_portal.py", line 97, in get_history_window ffill)) File "/Users/mac/miniconda3/envs/catalystupdate/lib/python3.6/site-packages/redo/init.py", line 162, in retry return action(*args, **kwargs) File "/Users/mac/miniconda3/envs/catalystupdate/lib/python3.6/site-packages/catalyst/exchange/exchange_data_portal.py", line 71, in _get_history_window ffill) File "/Users/mac/miniconda3/envs/catalystupdate/lib/python3.6/site-packages/catalyst/exchange/exchange_data_portal.py", line 220, in get_exchange_history_window False) File "/Users/mac/miniconda3/envs/catalystupdate/lib/python3.6/site-packages/catalyst/exchange/exchange.py", line 528, in get_history_window end_dt=end_dt if not is_current else None, File "/Users/mac/miniconda3/envs/catalystupdate/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 428, in get_candles if timeframe not in self.api.timeframes: AttributeError: 'bitstamp' object has no attribute 'timeframes'