binance icon indicating copy to clipboard operation
binance copied to clipboard

OCO order

Open dpblnt opened this issue 6 years ago • 1 comments

Binance has a new method, which places a LIMIT order and a STOP order fot the same amount, named OCO order. Without OCO order when one places a STOP that locks the amount of that order, thus can't have the same amount in another order. After I bought an asset I would place an OCO order as a SELL LIMIT and a STOP LIMIT, and sel the asset either way.

https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#new-oco-trade

Could you please implement OCO orders?

dpblnt avatar Jan 03 '20 12:01 dpblnt

!!!I haven't test it yet!!!

Check my fork binance fork. Please use OCO order with a small amount for testing and reply here If all went as expected. I will test it today probably....

hackhowtofaq avatar May 02 '20 13:05 hackhowtofaq