Binance just stripped the support for override method, that helped bypassing
limitations of inability to send DELETE commands on my trading platform.
The method i was using for 2 years was to use POST method, but to add to
the HEADER:
“\r\nX-HTTP-Method-Override: DELETE”
This is widely accepted standard, but for at least 6 days it was stripped from the
Binance API. There is no DELETE method in MQL4/5 language so I cannot
change it on my end.
I had to hide my Tradecraft Free Bitcoin Trading Bots from MQL5 Market (you can still google it)
(5.0/5.0 rating) as they are no longer able to cancel orders and
I had to hold all my trading on my Tradecraft Bitcoin commercial version.
Proof that X-HTTP-Method-Override is widely accepted method:
HTTP PUT or DELETE not allowed? Use X-HTTP-Method-Override for your REST
Service with ASP NET Web API
“The REST Services API has built-in support the X-HTTP-Method-Override
header. Sometimes because of a browser or client limitation, sometimes
because of a really tense corporate firewall you can’t work with PUT or
DELETE methods in your REST Service.”
Your platform’s API stopped supporting “X-HTTP-Method-Override: DELETE”.
Now it treats those calls as normal POST calls
instead of DELETE - this is why it was asking me for additional
information, because it interpreted my actions, as I would want to open
an order, not cancel it.
I managed to stop and cancel the trades of my full version of the bot by transferring the calls by php script by my apache www server. The problem is that there are still free version users that are stuck with the orders that bot cannot cancel now. I have no way of contacting them or helping them. If we have an altcoin dump - they will be all under water.
Could you kindly restore support for the X-HTTP-Method-Override support
to your trading API? It is not like it lowers the security or anything
and it was working fine with Binance API for years. If you restore the support,
all the users of the free version of the bot will be instantly safe, bot will close all unnecessary orders.