Sign in

Place margin OCO order

documented

Submit an OCO order on margin account.

POST /sapi/v1/margin/order/ocoMarginno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.binance.com/sapi/v1/margin/order/oco" \
  -X POST \
  -H "X-MBX-APIKEY: {{BINANCE_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"{{$symbol}}","isIsolated":"FALSE","side":"{{$side}}","quantity":"{{$quantity}}","price":"{{$price}}","stopPrice":"{{$stopPrice}}","stopLimitPrice":"{{$stopLimitPrice}}","stopLimitTimeInForce":"{{$stopLimitTimeInForce}}","listClientOrderId":"{{$listClientOrderId}}","limitClientOrderId":"{{$limitClientOrderId}}","recvWindow":{{$recvWindow}}}'
Place margin OCO order · Binance · OpenIntegrations