Binance Spot API not removing a trade after cancel

Hi,

I am testing on BTC/FDUSD pair, where market makers have 0 fees.
I am testing with LIMIT_MAKER orders, small amounts (about $5 each time, posted at latest bid/ask price).

I noticed that sometimes, when I submit a LIMIT_MAKER order, and it gets filled nearly immediately, it gets stuck and never gets removed, despite repeated attempts to cancel on my part through API. I only know that’s it’s filled because of the changes in amounts of currencies on the account, otherwise it behaves as if it never got matched.

Specifics (removed http://api.binance.com/ from the requests, because “new users can only post one link”):

  1. Opening a trade

Request:
POST api/v3/order?symbol=BTCFDUSD&side=SELL&type=LIMIT_MAKER&price=104954.810000&newOrderRespType=RESULT&quantity=0.000050

Reply:
{“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“transactTime”:1737927542355,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“origQuoteOrderQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“workingTime”:1737927542355,“selfTradePreventionMode”:“EXPIRE_MAKER”}

At this point, if I look at the account balances, I see that the transaction went through, because they changed.

Now,

  1. Getting trade info:

Request:
GET api/v3/order?symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx

Reply:
{“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

As you see, it’s as if it was never filled. And now,

  1. Trying to cancel it

Request:
DELETE api/v3/order?symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx

Reply:
{“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

I did the last one a hundred times in about a minute, and the reply is the same every time - returning order as NEW, not CANCELED.

I can see the orders present also in the Binance App - and if I cancel them from there, they do get canceled. Tried it just now.

I could work around this, by doing trades one by one, checking balance changes on the account and figuring out from there that the trade actually got filled, but this leaves the trade remnant handing in the open trades list. And there are limits on it.

So I think that that’s not a good look if I have to periodically manually cancel orders that got executed and then left in the order book somehow…

Could you please confirm that you use DELETE method when canceling the order via the API?

GET and DELETE endpoints have exact same parameter lists, you might be accidentally calling the GET one.

Cancel is never expected to return you NEW status. Either you get the order canceled, or you get an error explaining why it could not be canceled.

Yes, I definitely used DELETE. And 99% of the time it works correctly - if I had used GET, it wouldn’t work at all, but it cancels fine 99% of the time. It only failed for me in the circumstances I described, but it failed repeatedly. I don’t know why, but I imagine that maybe timing of calls and maybe the distance of first and second order from the current price matter.

Here’s the specific log of such a thing happening, but this time I include all the trading calls to the API I made in the entire run (so excluding connecting websocket for data feed, exchangeInfo, historic klines, time and account API calls, as they’re just reads abnd also I don’t have precise logs for them):

// Server = https://api.binance.com/api/

Order (POST): symbol=BTCFDUSD&side=BUY&type=LIMIT_MAKER&price=104858.190000&newOrderRespType=RESULT&quantity=0.000050
Order reply: {“symbol”:“BTCFDUSD”,“orderId”:12685002024,“orderListId”:-1,“clientOrderId”:“orE2lcrVrMaq3NVejd0CAw”,“transactTime”:1737927480652,“price”:“104858.19000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“origQuoteOrderQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“workingTime”:1737927480652,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Order info request (GET): symbol=BTCFDUSD&origClientOrderId=orE2lcrVrMaq3NVejd0CAw
Order info reply: {“symbol”:“BTCFDUSD”,“orderId”:12685002024,“orderListId”:-1,“clientOrderId”:“orE2lcrVrMaq3NVejd0CAw”,“price”:“104858.19000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927480652,“updateTime”:1737927480652,“isWorking”:true,“workingTime”:1737927480652,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Order info request (GET): symbol=BTCFDUSD&origClientOrderId=orE2lcrVrMaq3NVejd0CAw
Order info reply: {“symbol”:“BTCFDUSD”,“orderId”:12685002024,“orderListId”:-1,“clientOrderId”:“orE2lcrVrMaq3NVejd0CAw”,“price”:“104858.19000000”,“origQty”:“0.00005000”,“executedQty”:“0.00005000”,“cummulativeQuoteQty”:“5.24290950”,“status”:“FILLED”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927480652,“updateTime”:1737927481503,“isWorking”:true,“workingTime”:1737927480652,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Order (POST): symbol=BTCFDUSD&side=SELL&type=LIMIT_MAKER&price=104954.810000&newOrderRespType=RESULT&quantity=0.000050
Order reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“transactTime”:1737927542355,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“origQuoteOrderQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“workingTime”:1737927542355,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Order info request (GET): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Order info reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Cancel request (DELETE): symbol=BTCFDUSD&origClientOrderId=eppJ77KTnbvPyIFvWnW8Jx
Cancel reply: {“symbol”:“BTCFDUSD”,“orderId”:12685007967,“orderListId”:-1,“clientOrderId”:“eppJ77KTnbvPyIFvWnW8Jx”,“price”:“104954.81000000”,“origQty”:“0.00005000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“SELL”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1737927542355,“updateTime”:1737927542355,“isWorking”:true,“workingTime”:1737927542355,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

(and many more cancel requests)

@Krystian_Galaj just to confirm, the “Cancel reply” in your logs is the API response to DELETE request?

You are not doing something like

  1. Send DELETE to cancel an order
  2. Call GET to check the order status after cancel

right?

The sequence above can result in stale responses to GET, as there is some propagation delay. DELETE response gives you the correct status immediately, which is reflected in GET responses a bit later.

For example, here’s how it looks for me in Testnet in I do a quick sequence of POST, GET, DELETE, GET:

<<< POST https://testnet.binance.vision/api/v3/order {'symbol': 'BTCFDUSD', 'type': 'LIMIT_MAKER', 'side': 'BUY', 'quantity': '0.01', 'price': '50000.00', 'newClientOrderId': 'cancel_test', 'newOrderRespType': 'RESULT', 'timestamp': 1738117921991, 'signature': '09f069c01c9194cb015ae0235aad511d1119d1f09242a69df7eb39f52ba9e6ca'}
>>> {"symbol":"BTCFDUSD","orderId":4094017,"orderListId":-1,"clientOrderId":"cancel_test","transactTime":1738117922273,"price":"50000.00000000","origQty":"0.01000000","executedQty":"0.00000000","origQuoteOrderQty":"0.00000000","cummulativeQuoteQty":"0.00000000","status":"NEW","timeInForce":"GTC","type":"LIMIT_MAKER","side":"BUY","workingTime":1738117922273,"selfTradePreventionMode":"EXPIRE_MAKER"}
<<< GET https://testnet.binance.vision/api/v3/order {'symbol': 'BTCFDUSD', 'origClientOrderId': 'cancel_test', 'timestamp': 1738117922167, 'signature': 'b66bf5cf7b2a76021b279f3a400b713775172b101d64bd24a3d0c0f2b9a9bf00'}
>>> {"symbol":"BTCFDUSD","orderId":4094017,"orderListId":-1,"clientOrderId":"cancel_test","price":"50000.00000000","origQty":"0.01000000","executedQty":"0.00000000","cummulativeQuoteQty":"0.00000000","status":"NEW","timeInForce":"GTC","type":"LIMIT_MAKER","side":"BUY","stopPrice":"0.00000000","icebergQty":"0.00000000","time":1738117922273,"updateTime":1738117922273,"isWorking":true,"workingTime":1738117922273,"origQuoteOrderQty":"0.00000000","selfTradePreventionMode":"EXPIRE_MAKER"}
<<< DELETE https://testnet.binance.vision/api/v3/order {'symbol': 'BTCFDUSD', 'origClientOrderId': 'cancel_test', 'timestamp': 1738117922287, 'signature': '93a8e2810ae505f70515dc97ca2ee70b9e9d6d38f87e166804ffaa5c8405dc79'}
>>> {"symbol":"BTCFDUSD","origClientOrderId":"cancel_test","orderId":4094017,"orderListId":-1,"clientOrderId":"X6DhwNLyJ1qIvCOv3TD6wP","transactTime":1738117922506,"price":"50000.00000000","origQty":"0.01000000","executedQty":"0.00000000","origQuoteOrderQty":"0.00000000","cummulativeQuoteQty":"0.00000000","status":"CANCELED","timeInForce":"GTC","type":"LIMIT_MAKER","side":"BUY","selfTradePreventionMode":"EXPIRE_MAKER"}
<<< GET https://testnet.binance.vision/api/v3/order {'symbol': 'BTCFDUSD', 'origClientOrderId': 'cancel_test', 'timestamp': 1738117922397, 'signature': '4b4e45ee1f91c3e6b7d2df3291beae70575493a17ac07c59bb78baa2c525eac5'}
>>> {"symbol":"BTCFDUSD","orderId":4094017,"orderListId":-1,"clientOrderId":"cancel_test","price":"50000.00000000","origQty":"0.01000000","executedQty":"0.00000000","cummulativeQuoteQty":"0.00000000","status":"NEW","timeInForce":"GTC","type":"LIMIT_MAKER","side":"BUY","stopPrice":"0.00000000","icebergQty":"0.00000000","time":1738117922273,"updateTime":1738117922273,"isWorking":true,"workingTime":1738117922273,"origQuoteOrderQty":"0.00000000","selfTradePreventionMode":"EXPIRE_MAKER"}
<<< GET https://testnet.binance.vision/api/v3/order {'symbol': 'BTCFDUSD', 'origClientOrderId': 'cancel_test', 'timestamp': 1738117923051, 'signature': 'af0ae5c4b1953bb9f7fd0536719b106736ef2a1eef14a8dfd9bc09f3fa7689a3'}
>>> {"symbol":"BTCFDUSD","orderId":4094017,"orderListId":-1,"clientOrderId":"cancel_test","price":"50000.00000000","origQty":"0.01000000","executedQty":"0.00000000","cummulativeQuoteQty":"0.00000000","status":"CANCELED","timeInForce":"GTC","type":"LIMIT_MAKER","side":"BUY","stopPrice":"0.00000000","icebergQty":"0.00000000","time":1738117922273,"updateTime":1738117922506,"isWorking":true,"workingTime":1738117922273,"origQuoteOrderQty":"0.00000000","selfTradePreventionMode":"EXPIRE_MAKER"}

Note how GET keeps returning "status":"NEW" for some time, even after DELETE immediately responded with "status":"CANCELED", but after a short delay GET returns the correct status.

Ah… I also tried cancelling all open orders for the symbol with a separate call, and it gave me the same answer, but within a single-element JSON array. But I don’t have it in this log.

That’s right, the Cancel reply is the API response to DELETE request. I am not sending any GETs after a DELETE, I assume that a reply from DELETE request will tell me that the order is CANCELED, and that the order state variables sent in this reply represent the final state of the order, for example if it was partially filled.

Yes, that’s right. DELETE responds with the final status of the order, which is CANCELED even if it was canceled after a partial fill.

So, the problem seems to be that DELETE sometimes responds as if it was a GET, and once it starts responding in this way to some order, the only way to cancel it is to do it from the Binance app manually.

I had it happening again, after some 250 trades in one bot run, and it kinda breaks the bot, so I’d prefer not to have to reset it every day… I’ll eventually work around it, but it would be better to fix it at the source.

Here’s the log of every call I made about the specific order:

  1. First I create it,

2025-02-19 23:53:00: Entry order request: symbol=DOGEFDUSD&side=BUY&price=0.254620&type=LIMIT_MAKER&newOrderRespType=RESULT&quantity=27355.000000
2025-02-19 23:53:00: Entry order reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“transactTime”:1740009180221,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“origQuoteOrderQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“workingTime”:1740009180221,“selfTradePreventionMode”:“EXPIRE_MAKER”}

  1. Then I keep querying about it, many times in the course of 5 seconds. I’ll append the complete list of calls and replies at the very end of the post, as it takes much space. They’re all the same, just the time changes. An example first one:

2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Now, the interesting bit. I keep asking for 5 seconds. But every answer I get has the same:

“updateTime”:1740009180221,

And it’s the exact same time as the order creation time. So the exchange received the order, but for 5 seconds haven’t really done anything about it, haven’t executed it. The software just stored the initial order state in some cache, and that’s where it’s returning the same answer from, for 5 seconds.

  1. Then I cancel the order:

2025-02-19 23:53:04: Mid-buy cancel order request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Mid-buy cancel order reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

And here is where I get the answer, where the order is not getting canceled, but is still returning NEW.

So, in my opinion, there are two problems.

One is that the order that’s just been submitted for execution but not processed yet, and then canceled, is not getting canceled, as you state it should be.

The other is that it sometimes takes more than 5 seconds to effectively submit a LIMIT_MAKER order for execution. This seems quite a hiccup…

It’s likely that these issues are the result of me using LIMIT_MAKER orders. They’re available in the API, but not really available in the Binance app, so they’re probably very rarely used. A LIMIT_MAKER order can be rejected immediately, if it would collide with an existing order and get fully or partially filled - and indeed it usually is being rejected, returning

{“code”:-2010,“msg”:“Order would immediately match and take.”}

reply. But I suspect sometimes something fails and it ends up in limbo like I described.

I hope it helps.

By the way, I expected the error codes would be unique, and the message would only be sugar-coating. But here I see that the API can also return:

{“code”:-2010,“msg”:“Account has insufficient balance for requested action.”}

That’s too bad, when we have to rely on the message to differentiate one error from another, and it’ll get worse if these messages get translated into multiple langauges…


I’ll append the messages in the next post, because of character limit.

All the queries I made in-between creating the order and cancelling it. They seem identical, only the time of their issuance changes:

2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:00: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:00: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:01: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:01: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:02: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:02: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:03: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:03: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:04: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:04: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:04: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:04: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:04: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:04: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}
2025-02-19 23:53:04: Order info request: symbol=DOGEFDUSD&orderId=1876724018
2025-02-19 23:53:04: Order info reply: {“symbol”:“DOGEFDUSD”,“orderId”:1876724018,“orderListId”:-1,“clientOrderId”:“FgGIuNhyCvKvz098v4QDKd”,“price”:“0.25462000”,“origQty”:“27355.00000000”,“executedQty”:“0.00000000”,“cummulativeQuoteQty”:“0.00000000”,“status”:“NEW”,“timeInForce”:“GTC”,“type”:“LIMIT_MAKER”,“side”:“BUY”,“stopPrice”:“0.00000000”,“icebergQty”:“0.00000000”,“time”:1740009180221,“updateTime”:1740009180221,“isWorking”:true,“workingTime”:1740009180221,“origQuoteOrderQty”:“0.00000000”,“selfTradePreventionMode”:“EXPIRE_MAKER”}

Note that according to the docs, POST /api/v3/order returns the response from the matching engine directly, while GET /api/v3/order queries the API cache and the database.

There is a certain propagation delay to the API, so you shouldn’t use GET /api/v3/order to monitor order execution. Please consider WebSocket user data stream subscriptions instead.

Now that is indeed weird, as the DELETE endpoint is supposed to return the matching engine response, not some cache or whatever.

Still looking into what might be causing that.

By the way, are you using api.binance.com or one of the api1.binance.com endpoints?

The error code -2010 is defined as broad catch-all NEW_ORDER_REJECTED, returned in most cases when the order is rejected by the matching engine (some reasons have their own code).

The message is intended for your debug logs. It’s not localized, and is not expected to be shown to users directly.

Although, it makes sense for LIMIT_MAKER to have its own code, as it’s not exactly your fault that the price moved.

@Krystian_Galaj to continue on this:

Are you connecting to the API directly? No proxies involved that could be caching HTTP responses, etc.?

There is a certain propagation delay to the API, so you shouldn’t use GET /api/v3/order to monitor order execution. Please consider WebSocket user data stream subscriptions instead.

It does seem faster, and I am already using websockets for market state. I’ll look into it.

By the way, are you using api.binance.com or one of the api1.binance.com endpoints?

api.binance.com , the default one. I never used the others.

Are you connecting to the API directly? No proxies involved that could be caching HTTP responses, etc.?

Directly from the Zorro engine executable ( https://zorro-project.com/, the Binance plugin is my own but it’s using Zorro’s http functions ), currently on an AWS Windows, no proxies that I know of, maybe AWS sets some up. I think the first time it happened, it was when running from a standard ISP IP, also no proxies.

It does seem faster, and I am already using websockets for market state. I’ll look into it.

Tried to make it work, but so far I am stumped. When asking with REST API for a listenKey ( POST /api/v3/userDataStream ), I am getting a valid HTTP reply, but instead of a JSON with a listenKey inside, it’s an empty string…

I am getting a valid HTTP reply, but instead of a JSON with a listenKey inside, it’s an empty string…

But that’s some screwup with the HTTP code I have, it works fine with curl…

Thanks for responses so far.

Continuing the theme of broken HTTP code, could you please triple-check that you use correct HTTP verbs in a correct way? Your client sending GET requests instead of proper DELETE is a really good explanation for why the cancel responses look like GET requests, and it would be good to rule it out.

What’s the status code that you get?

When an API responds with 404, the body is empty. And there is no GET /api/v3/userDataStream request, only POST/PUT/DELETE.

Continuing the theme of broken HTTP code, could you please triple-check that you use correct HTTP verbs in a correct way? Your client sending GET requests instead of proper DELETE is a really good explanation for why the cancel responses look like GET requests, and it would be good to rule it out.

What’s the status code that you get?

When an API responds with 404, the body is empty. And there is no GET /api/v3/userDataStream request, only POST/PUT/DELETE.

The trouble with Zorro’s internal http_request function set ( http functions ) is that there is no way to get a HTTP resonse code out of them - so I don’t know whether it’s answering with 404 or not.

I have triple-checked that I am passing POST as the parameter to use in both userDataStream case, and in case of cancelling an order. However, I can’t rule out that sometimes, when it gets a POST, it nevertheless uses GET internally. I can’t check with Wireshark etc. , as that’s all within encrupted channel already. But I think I’ll switch out Zorro’s internal http and use curl, in both cases. I wouldn’t be surprised if both issues would disappear then… and that would mean they’re both on my side.

I’ll advise further when I have something new, or when I have confirmed the issues no longer happen.

So yeah, the issue no longer happens. Most likely it’s the Zorro engine sometimes issuing a GET order when it’s told to issue DELETE one. I am sorry to have bothered you without checking precisely… it has been on the market for 10 years so I didn’t think it would have these kinds of issues.