Margin Account New Order (TRADE)
Post a new order for margin account.
Weight(UID): 6
Query parameters
Trading symbol, e.g. BNBUSDT
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
Order type
Quote quantity
Order price
Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
Used to uniquely identify this cancel. Automatically generated by default
Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order.
Set the response JSON.
Default NO_SIDE_EFFECT
Order time in force
The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE.
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Margin order info
Example response
{
"symbol": "BTCUSDT",
"orderId": 28,
"clientOrderId": "6gCrw2kRUAF9CvJDGP16IP",
"transactTime": 1507725176595
}Changes
Changed in 2 of the 26 revisions of this API.448
- ▲
added the new required
queryrequest parameterautoRepayAtCancelnew-required-request-parameter
- ○
added the new optional
queryrequest parameterselfTradePreventionModenew-optional-request-parameter
- ▲
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
the
oneOf[marginOrderResponseFull]/marginBuyBorrowAmountresponse's property type/format changed fromnumber/floattonumber/doublefor status200response-property-type-changed
- ○
for the
queryrequest parametericebergQty, the type/format was generalized fromnumber/floattonumber/doublerequest-parameter-type-generalized
- ○
for the
queryrequest parameterprice, the type/format was generalized fromnumber/floattonumber/doublerequest-parameter-type-generalized
- ○
for the
queryrequest parameterquantity, the type/format was generalized fromnumber/floattonumber/doublerequest-parameter-type-generalized
- ○
for the
queryrequest parameterquoteOrderQty, the type/format was generalized fromnumber/floattonumber/doublerequest-parameter-type-generalized
- ○
for the
queryrequest parameterstopPrice, the type/format was generalized fromnumber/floattonumber/doublerequest-parameter-type-generalized
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ○
the response property
oneOf[marginOrderResponseAck]/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseAck]/isIsolatedbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseAck]/orderIdbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseAck]/symbolbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseAck]/transactTimebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/cummulativeQuoteQtybecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/executedQtybecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/fillsbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/fills/items/commissionbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/fills/items/commissionAssetbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/fills/items/pricebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/fills/items/qtybecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/isIsolatedbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/marginBuyBorrowAmountbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/marginBuyBorrowAssetbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/orderIdbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/origQtybecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/pricebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/sidebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/statusbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/symbolbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/timeInForcebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/transactTimebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseFull]/typebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/cummulativeQuoteQtybecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/executedQtybecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/isIsolatedbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/orderIdbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/origQtybecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/pricebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/sidebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/statusbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/symbolbecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/timeInForcebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/transactTimebecame required for the status200response-property-became-required
- ○
the response property
oneOf[marginOrderResponseResult]/typebecame required for the status200response-property-became-required
- ▲