OHLCV weird exception #913
-
Hi, Tried running your example of OHLCV on BTC-PERP got cryptofeed.exceptions.UnsupportedSymbol: BTC-PERP is not supported on FTX but certainly with the websocket I can stream this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
can you be more specific? The ohlcv example has coinbase in it, not FTX |
Beta Was this translation helpful? Give feedback.
-
self.normalized_symbol_mapping in exchange.py contains a dictionary whose keys map to exchange symbols. so, the key that maps to 'BTC-PERP' on FTX is 'BTC-USD-PERP' |
Beta Was this translation helpful? Give feedback.
-
@ToposFinance I think you were using an old version of the code - that sample/demo code you posted does not exist in the repo currently. |
Beta Was this translation helpful? Give feedback.
self.normalized_symbol_mapping in exchange.py contains a dictionary whose keys map to exchange symbols. so, the key that maps to 'BTC-PERP' on FTX is 'BTC-USD-PERP'