Spot trading
Place Spot order (delayed)
Changed onPlace a fully funded Spot limit or market order. Use base-denominated size; quoteSize is unsupported. Acknowledgement is not a fill guarantee. Reconcile an uncertain submission by clientOrderId before replacing it. Client IDs are not idempotency keys: accepted-ID reuse fails with clientOrderID_collision. Price protection uses the underlying oracle; see /mark-price-protection. Use this path when the server directs the account to delayed placement. Sign the exact delayed path with a fresh timestamp.
See the Spot API guide. Requires authentication; API-key scope: trade.
post/v1/spot/orders/delayed
Request
- Base URLhttps://api.ondoperps.xyz
- URLhttps://api.ondoperps.xyz/v1/spot/orders/delayed
- Auth
- HTTP bearer
- or API key in header ONDO-KEY-ID
Request body
Example request
{
"side": "buy",
"price": "1.55",
"size": "20.30",
"market": "SPY-USDC",
"clientOrderId": "order123",
"type": "limit",
"timeInForce": "GTC"
}Response
Success. Inspect item-level outcomes for batch operations.
Example response
{
"result": {
"orderId": "70a37d8f972f2494837f9dba8364cbb4",
"clientOrderId": "order123",
"side": "buy",
"price": "1.55",
"size": "20.30",
"market": "SPY-USDC",
"filledSize": "5.403",
"lastFillSize": "5.403",
"filledCost": "8.37465",
"fee": "0.0837",
"status": "open",
"createdAt": "2022-06-16T12:35:11.123456Z",
"filledAt": "2022-06-16T12:35:11.123456Z",
"canceledAt": "2022-06-16T12:35:11.123456Z",
"cancelReason": "liquidation",
"type": "limit",
"timeInForce": "GTC"
}
}Changes
- info
endpoint added
- info