aoki-h-jp / funding-rate-arbitrage

Funding rate arbitrage on cryptocurrency.
MIT License
149 stars 38 forks source link

ccxt.base.errors.BadSymbol: binance does not have market symbol BTC/USDT:USDT #17

Open 521314 opened 10 months ago

521314 commented 10 months ago

fr.figure_funding_rate_history(exchange='binance',symbol='BTC/USDT:USDT')

raise BadSymbol('{} does not have market symbol {}'.format(self.id, symbol))

ccxt.base.errors.BadSymbol: binance does not have market symbol BTC/USDT:USDT

aoki-h-jp commented 10 months ago

@521314 Thanks for the report. The error seems to be caused by ccxt, what version of ccxt are you using? I ran the following code in my environment (ccxt 3.0.27) and the error did not occur.

funding-rate-arbitrage/examples$ python3 fetch_funding_rate_history.py 

If version is the cause, make an update to requirements.txt to specify version.