[testnet] Someting wrong with client.futures_create_order()
See original GitHub issueI use my testnet account , and run the function futures_create_order() for the symbol BTCUSDT, it is all OK. The code is following:
client.futures_create_order(symbol='BTCUSDT', side='BUY', positionSide='LONG',type='MARKET',quantity=20)
But when I use it for the symbol SOLUSDT:
client.futures_create_order(symbol='SOLUSDT', side='BUY', positionSide='LONG',type='MARKET',quantity=20)
Error message appears:
binance.exceptions.BinanceAPIException: APIError(code=-4131): The counterparty’s best price does not meet the PERCENT_PRICE filter limit.
How to solve the problem? thanks!!!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Creating an order in Binance Features Testnet results ... - GitHub
Dear friends, I am trying to send an order to the Binance Features Testnet with the code below. However, there is an error...
Read more >[Websocket] No order filled event received, but only account ...
Hi, I'm currently developing a connector for futures. ... I'm using the testnet, I can successfully make API calls and get responses.
Read more >How to Test My Functions on Binance Testnet
1. Log in to your Binance testnet account on the Binance Futures Testnet. If you don't have a testnet account, click [Create].
Read more >Binance Spot Test Network. Error when trying to reach Testnet ...
I am trying to test a bot on the Spot Test Network but when I try to do acc = client ...
Read more >Binance API — python-binance 0.2.0 documentation
each object is identical to Client.aggregate_trades(). ... API Key created before your futures account opened does not support futures API service ...
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
Check the symbol info using client.get_symbol_info and find PERCENT_PRICE in it.
The price you send for the order should match the PERCENT_PRICE rule, as well as the PRICE_FILTER rule.
Unfortunately there’s no solution, Binance doesn’t allow to open position and giving this kind of false errors to manipulate the developers when there’s high volatility.