add algo order (authorized)
Places a new order on behalf of a client
POST /algo/authorized/order/add
{
"clientId": 10,
"instrument": "ETH-USD:USDT-USD",
"clientOrderId": 1,
"side": "ask",
"size": 12345678,
"volume": 12345678,
"price": 12345678,
"type": "limitIOC",
"firmBookEnabled": true,
"qsEnabled": false
}
instrument
string
Instrument Technical Name. Might be Synthetic Instrument (e.g., ETH-USD:USDT-USD) or Direct Instrument (e.g., ETH-USD)
side
string
Order side. Might be bid or ask.
type
string
Order type. For orders with Synthetic Instruments, it must be one of limitIOC or marketIOC. For Pending limit orders, it must be pendingLimit.
firmBookEnabled
boolean
At the moment must be true for every order
qsEnabled
boolean
At the moment must be false for every order
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 authorized
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
errorDescription
string array
List of strings describing observed errors
Last updated