Closed dima-dmytruk23 closed 3 years ago
I know this is a bit old here but figure it might still be worth mentioning. The official docs say that test orders are validated but not sent to the matching engine and intentionally return an empty dictionary. So this is the correct behavior. As noted here: https://github.com/binance-us/binance-official-api-docs/blob/master/rest-api.md#test-new-order-trade
I have a similar concept when I'm paper trading with test strategies and I just create my own order ID in the format of something like: TEST-{SYMBOL}-{UNIX_TIMESTAMP}
You could easily use a UUID generator or something instead of course. As far as the testnet behavior sorry I got nothing. I haven't used it. Though it's possible you're confusing placing a test order on the main network vs. placing an actual order on the test net? They're very different things.
I create test order using following code
In response I get empty dict.