ccxt.base.errors.BadSymbol: ftx does not have market symbol BTC/USD:USD
See original GitHub issueI want to buy BTC/USD perpetual contract at market price
But is shows error as follows: ccxt.base.errors.BadSymbol: ftx does not have market symbol BTC/USD:USD
The code as follows:
symbol = 'BTC/USD:USD'
btc_price = ftx.fetch_ticker("BTC/USD")['bid']
btc_amount = 20 / btc_price
create_order = ftx.create_order(symbol, 'market', 'buy', btc_amount)
Issue Analytics
- State:
- Created a year ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
BadSymbol: ftx does not have market symbol B #13512
ccxt -1.84.60 has the problem. ... BadSymbol: ftx does not have market symbol B #13512 ... No branches or pull requests. 2 participants....
Read more >Python ccxt binance does not have market symbol USDT ...
I am using python ccxt module to create a sell order in some binance ... raise BadSymbol(self.id + ' does not have market...
Read more >Exchanges — ccxt 2.4.71 documentation
Each class implements the public and private API for a particular crypto exchange. All exchanges are derived from the base Exchange class and...
Read more >[FTX] Spot-Future Differences
This notebook fetches data from FTX and summarizes the difference between spot and its future price (e.g., BTC/USD and BTC-1231). ... Collecting ccxt==1.40.1 ......
Read more >CCXT Integration - FTX Exchange
FTX is integrated with CCXT! CCXT is a library used to trade on over 100 cryptocurrency exchanges. It is perhaps the most popular...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
When I upgrade to CCXT version 1.87.10, I can use
symbol = 'BTC/USD:USD'
Characters can now be converted to floats,the code as follows: