Cascade
Orders

Submit Order

Submit a new order

POST
/account/order
clientId?string|null
expiresAtinteger
Formatint64
Range0 <= value
flags
nonceinteger
Formatint64
Range0 <= value
originatorstring
originatorFeeinteger
Formatint64
Range0 <= value
pricestring
quantitystring
signaturesarray<string>
triggerPrice?string|null
accountstring
orderTypestring
Value in"unsupported" | "limit" | "twap" | "takeProfit" | "stopLoss" | "trailingStop" | "iceberg"
parentOrderId?string|null
period?integer|null
Formatint64
Range0 <= value
stopLoss?null|
subaccountIndexinteger
Formatint32
Range0 <= value
symbolstring
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"