jaggedsoft / node-binance-api

Node Binance API is an asynchronous node.js library for the Binance API designed to be easy to use.
MIT License
1.58k stars 769 forks source link

Cancel OCO order? #871

Open olizan10 opened 1 year ago

olizan10 commented 1 year ago

Gostaria de uma ajuda para cancelar uma ordem oco que foi enviada dessa forma. I would like some help to cancel a hollow order that was sent that way.

binance.order('SELL', 'LINKBUSD', 2.0, 7.50, { type:'OCO' , stopLimitPrice: 7.10, stopPrice: 7.10 }, (error, response) => { if(error) return console.error(error); console.log(response) });

como proceder? how to proceed?