krijnsent / crypto_vba

An Excel/VBA project to communicate with various cryptocurrency exchanges APIs
MIT License
157 stars 54 forks source link

Binance cancel order #46

Closed Dnanilem1 closed 5 years ago

Dnanilem1 commented 5 years ago

Hello I would like to cancel a buy or sell order on Binance, but I can not. thank you for giving me a track. Purchase and sale orders work very well. My command line PrivateBinance("order", apikey, secretkey, "symbol=BNBUSDT&orderId=83375426&timestamp=" & Temps) Error message {"code":-1101,"msg":"Duplicate values for a parameter detected."} A thousand excuses for English Merci

incobart commented 5 years ago

Bonjour Dnanilem, I think &timestamp=" & Temps should not be there , and the DELETE function is not provided in this app. Koen will possibly add later.

krijnsent commented 5 years ago

Hi @Dnanilem1 and @incobart , could you check the latest code, it provides an example in the tests. If that's okay, please close this issue.

Dnanilem1 commented 5 years ago

Merci pour votre aide. Le code fonctionne très bien pour mon usage. Thanks for your help. The code works very well for my use.