Sign in

Place margin OCO order

documented

Submit an OCO order on margin account.

POST /sapi/v1/margin/order/ocoMarginno implementation yet0 runs

Input

symbol
Trading pair symbol
BTCUSDT
side*
Order side (BUY/SELL)
SELL
quantity*
Order quantity
0.001
price*
Limit price for the OCO leg
50000
stopPrice*
Stop price for the stop-loss leg
49000
stopLimitPrice*
Stop-limit price for stop leg
49050
stopLimitTimeInForce*
Time in force for stop order (GTC/IOC/FOK)
GTC
listClientOrderId
List-level client order id
myOCO123
limitClientOrderId
Limit-order client order id
myLimit123
recvWindow
Recv window (ms)
Calls Binance as you (your API key is your account); keychains.dev holds the credentials.