Orders
Order management - create, cancel, and track trading orders with risk management
List User Orders
Authorization
HTTPBearer In: header
Query Parameters
Filter by portfolio ID
Filter by order status
Filter by trading symbol (exact match)
Filter orders created after this date
Filter orders created before this date
Maximum number of orders to return
501 <= value <= 200Number of orders to skip for pagination
00 <= valueCursor for pagination (alternative to offset)
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/orders"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Trading Order
Authorization
HTTPBearer In: header
Query Parameters
Trading mode: 'paper' or 'live'
"live"Exchange to route order to (e.g., 'binanceus', 'coinbase')
"binanceus"Order source: 'manual', 'agent', 'strategy'
"manual"AI agent UUID (if source is 'agent')
Request Body
application/json
length <= 20Trade type enumeration.
"buy" | "sell"Order type enumeration.
"market" | "limit" | "stop_loss" | "take_profit" | "stop_limit" | "trailing_stop" | "iceberg" | "oco"Time in force enumeration.
"gtc""gtc" | "ioc" | "fok" | "gtt"falsefalseOrder source enumeration.
"manual""manual" | "agent" | "strategy"Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/orders" \ -H "Content-Type: application/json" \ -d '{ "symbol": "string", "side": "buy", "type": "market", "quantity": 0 }'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Order Details
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X GET "https://loading/api/v1/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Order
Authorization
HTTPBearer In: header
Path Parameters
uuidRequest Body
application/json
Response Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Cancel Order
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X DELETE "https://loading/api/v1/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Retry Failed Order
Authorization
HTTPBearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X POST "https://loading/api/v1/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08/retry"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Order History
Authorization
HTTPBearer In: header
Query Parameters
Filter orders from this date
Filter orders until this date
Filter by order status
Maximum number of orders to return
1001 <= value <= 500Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/orders/history"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}