Optional ReadonlycancelUsed to uniquely identify this cancel. Automatically generated by default.
Optional ReadonlycancelEither cancelOrderId or cancelOrigClientOrderId must be sent.
If both cancelOrderId and cancelOrigClientOrderId parameters are provided, the cancelOrderId is searched first, then the cancelOrigClientOrderId from that result is checked against that order.
If both conditions are not met the request will be rejected.
Optional ReadonlycancelEither cancelOrderId or cancelOrigClientOrderId must be sent.
If both cancelOrderId and cancelOrigClientOrderId parameters are provided, the cancelOrderId is searched first, then the cancelOrigClientOrderId from that result is checked against that order.
If both conditions are not met the request will be rejected.
ReadonlycancelThe allowed values are:
STOP_ON_FAILURE - If the cancel request fails, the new order placement will not be attempted.
ALLOW_FAILURE - new order placement will be attempted even if cancel request fails.
Optional ReadonlycancelSupported values: ONLY_NEW - Cancel will succeed if the order status is NEW.
ONLY_PARTIALLY_FILLED - Cancel will succeed if order status is PARTIALLY_FILLED.
Optional ReadonlyicebergUsed with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order.
Optional ReadonlyidClient-generated request identifier.
Optional ReadonlynewUsed to identify the new order.
Optional ReadonlynewAllowed values:
ACK, RESULT, FULL
MARKET and LIMIT orders types default to FULL; all other orders default to ACK
Optional ReadonlyorderSupported values:
DO_NOTHING (default)- will only attempt to cancel the order if account has not exceeded the unfilled order rate limit
CANCEL_ONLY - will always cancel the order
Optional ReadonlypegOnly PRICE_LEVEL is supported
See Pegged Orders
Optional ReadonlypegPrice level to peg the price to (max: 100)
See Pegged Orders
Optional ReadonlypegPRIMARY_PEG or MARKET_PEG
See Pegged Orders
Optional ReadonlypriceOptional ReadonlyquantityOptional ReadonlyquoteOptional ReadonlyrecvSupports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
Optional ReadonlyselfThe allowed enums is dependent on what is configured on the symbol. The possible supported values are: STP Modes.
ReadonlysidePlease see Enums for supported values.
Optional ReadonlystopUsed with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
Optional ReadonlystrategyOptional ReadonlystrategyThe value cannot be less than 1000000.
ReadonlysymbolOptional ReadonlytimePlease see Enums for supported values.
Optional ReadonlytrailingReadonlytypePlease see Enums for supported values.
Request parameters for orderCancelReplace operation in TradeApi. OrderCancelReplaceRequest