Binance futures testnet errors in latest ccxt version
See original GitHub issueI had an older ccxt version and it was all working okay, but now I updated to latest version and nothing is working…
At first I got this error :
{ AuthenticationError: binance {"code":-2015,"msg":"Invalid API-key, IP, or permissions for action, request ip: xx.xx.xx.xx"}
Then after searching found this and the error didn’t show anymore:
exchange.set_sandbox_mode(true)
When I try to create an order I get this error:
{ ExchangeError: binance {"code":-2019,"msg":"Margin is insufficient."}
When I try to set leverage to 100 I get this error : ``{ ExchangeError: binance {“code”:-4028,“msg”:“Leverage 100 is not valid”}`
And there can be other errors that I have not figured yet…
How to fix these?
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
binance does not have a testnet/sandbox URL for sapi ...
it seems to works fine, and I can see the operations in the Web UI just fine (Tested today 20-Feb-2021), but if I...
Read more >Apikey is not authorize - Futures API
Hi I can not connect to the binance's testnet. ... So the error is related to the test server. ... const exchange =...
Read more >Exchanges — ccxt 2.4.71 documentation
The ccxt library is a collection of available crypto exchanges or exchange classes. Each class implements the public and private API for a...
Read more >How to Test My Functions on Binance Testnet
How to test my functions on the Futures Testnet? ... 2. Scroll down and click [API Key] and you will see the API...
Read more >Newest 'ccxt' Questions
As I am trying to learn a little about trading bots in python. I have written a simple code that should be able...
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
It work thanks
I tried this morning with lastest version 1.41.28 and it seems solved. thanks