Orders
Submit Order
Submit a new order
clientId?string|null
expiresAtinteger
Format
int64Range
0 <= valueflags
nonceinteger
Format
int64Range
0 <= valueoriginatorstring
originatorFeeinteger
Format
int64Range
0 <= valuepricestring
quantitystring
signaturesarray<string>
triggerPrice?string|null
accountstring
orderTypestring
Value in
"unsupported" | "limit" | "twap" | "takeProfit" | "stopLoss" | "trailingStop" | "iceberg"parentOrderId?string|null
period?integer|null
Format
int64Range
0 <= valuestopLoss?null|
subaccountIndexinteger
Format
int32Range
0 <= valuesymbolstring
takeProfit?null|
trailingPercent?string|null
Response Body
application/json
text/plain
text/plain
text/plain
curl -X POST "https://matcher.cascade.xyz/account/order" \ -H "Content-Type: application/json" \ -d '{ "expiresAt": 0, "flags": { "ioc": true, "postOnly": true, "reduceOnly": true }, "nonce": 0, "originator": "string", "originatorFee": 0, "price": "string", "quantity": "string", "signatures": [ "string" ], "account": "string", "orderType": "unsupported", "subaccountIndex": 0, "symbol": "string" }'[
{
"account": "string",
"clientId": "string",
"createdAt": 0,
"expiresAt": 0,
"flags": {
"ioc": true,
"postOnly": true,
"reduceOnly": true,
"selfTradeExpire": 0
},
"groupId": "string",
"lastUpdateSequenceNumber": 0,
"nonce": 0,
"orderId": "string",
"orderType": "unsupported",
"originator": "string",
"originatorFee": 0,
"parentOrderId": "string",
"period": 0,
"price": "string",
"quantity": "string",
"reason": "string",
"remaining": "string",
"settled": "string",
"status": "new",
"subaccountIndex": 0,
"symbol": "string",
"trailingPercent": "string",
"triggerPrice": "string",
"updatedAt": 0
}
]"May not specify period on Limit order""Invalid signature""string"