order (authorized)
Retrieves existing order information on behalf of another client
POST /algo/order
{
"clientId": 10,
"id": 123456
}
{
"content": {
"id": 123456,
"clientOrderId": 1,
"clientId": 10,
"masterId": 9999,
"status": "PARTIALLY_EXECUTED",
"side": "ask",
"initiatorType": "regular",
"instrument": "ETH-USD:USDT-USD",
"size": 12345678,
"volume": 12345678,
"price": 12345678,
"remainingSizeOrVolume": 123,
"createdAt": 1767225600,
"type": "limitIOC",
"cancelReason": "some",
"filledPercent": 9500,
"executionSize": 12345678,
"executionVolume": 12345678,
"orders": [
{
"orderId": 123456,
"executionIndex": 0,
"side": "ask",
"instrument": "ETH-USD",
"size": 12345678,
"executionSize": 12345678,
"executionVolume": 12345678,
"executionCode": 0
},
...
]
},
"error": 0
}content.status
string
Order status. Might be PENDING, PARTIALLY_EXECUTED, COMPLETED, CANCELED
content.side
string
Order side. Might be bid, ask
content.initiatorType
string
Order Initiator type. Always regular
content.instrument
string
Technical name of order instrument
content.remainingSizeOrVolume
Efx::Size
For orders by size: remaining order size after order execution. For orders by volume: remaining order volume after order execution
content.createdAt
Efx::Timestamp
Order creation date
content.type
string
Order type. One of limitIOC, marketIOC, pendingLimit
content.cancelReason
string
Order cancel reason. Will be present in cancelled orders
content.filledPercent
Efx::Percent
How many of initial size/volume turned into balance asset, in %. Currently present for Synthetic orders only
content.executionSize
Efx::Size
Execution Size, asset currency. Currently present for Synthetic orders only
content.executionVolume
Efx::Size
Execution Volume, balance currency. Currently present for Synthetic orders only
content.orders
order array
List of Child orders that relate to specified Algo order. Currently present for Synthetic orders only
Schema for order attribute:
executionIndex
number
Child order execution index, starting from 0
side
string
Child Order side. Might be bid, ask
instrument
string
Technical name of child order instrument
remainingSizeOrVolume
Efx::Size
For orders by size: remaining order size after order execution. For orders by volume: remaining order volume after order execution. See Data Types.
cancelReason
Efx::CancelReason
Order cancel reason. Will be present in cancelled orders. See Data Types.
errorDescription
string array
List of strings describing observed errors
Last updated