Error responses
Order and cancel errors are returned as a vector with same length as the batched request.
Below is a list of possible error responses:
Error source | Error type | Error string |
---|---|---|
Order | Tick | Price must be divisible by tick size. |
Order | MinTradeNtl | Order must have minimum value of $10 |
Order | Margin | Insufficient margin to place order. |
Order | ReduceOnly | Reduce only order would increase position. |
Order | BadAloPx | Post only order would have immediately matched, bbo was {bbo}. |
Order | IocCancel | Order could not immediately match against any resting orders. |
Order | BadTriggerPx | Invalid TP/SL price. |
Order | MarketOrderNoLiquidity | No liquidity available for market order. |
Cancel | MissingOrder | Order was never placed, already canceled, or filled. |
Last updated