Replace Order

Replace order, support orderQty and limitPrice. Please note that currently replace spot order and a small part of situation with perp order are achieved through a rapid cancel and place a new order process.

Permission

  • Applies to both primary user and trading portfolio's API Key.
  • Permission: TRADE.

Rate Limit

The limits below apply to this operation. Binance perpetual, Binance spot and margin combined, and OKX across all business lines are counted separately.

main portfolio:

Binance (all business lines)

  • Rate Limit: 300 requests per 60 seconds.

OKX (all business lines)

  • Rate Limit: 300 requests per 60 seconds.

sub portfolio:

Binance perpetual

  • Rate Limit: 20 requests per 10 seconds.

Binance spot and margin

  • Rate Limit: 20 requests per 10 seconds.

OKX (all business lines)

  • Rate Limit: 20 requests per 10 seconds.

Request

Field nameTypeNecessaryRemarks
orderIdStringYOrder ID
replaceQtyStringNReplace order qty
replacePriceStringNReplace order price
syncModeStringNAPI synchronous validation or asynchronous validation(required "true" or "false"); default "true"

Response

Field nameTypeRemarks
orderIdStringSame order ID
orderStateStringorder State
Body Params
string

order ID

string

replace order qty

string

replace order price

Response

Language
LoadingLoading…
Response
Choose an example:
application/json