Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
521314 opened this issue Dec 15, 2023 · 1 comment

Comments

@521314
Copy link

521314 commented Dec 15, 2023

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
Copy link
Owner

aoki-h-jp commented Dec 16, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants