Skip to main content
Version: testnet (v0.73)

StopOrderRejectionReason

Why the order was rejected by the core node

enum StopOrderRejectionReason {
REJECTION_REASON_TRADING_NOT_ALLOWED
REJECTION_REASON_EXPIRY_IN_THE_PAST
REJECTION_REASON_MUST_BE_REDUCE_ONLY
REJECTION_REASON_MAX_STOP_ORDERS_PER_PARTY_REACHED
REJECTION_REASON_STOP_ORDER_NOT_ALLOWED_WITHOUT_A_POSITION
REJECTION_REASON_STOP_ORDER_DOES_NOT_CLOSE_POSITION
}

Values

StopOrderRejectionReason.REJECTION_REASON_TRADING_NOT_ALLOWED

Trading is not allowed yet

StopOrderRejectionReason.REJECTION_REASON_EXPIRY_IN_THE_PAST

Expiry of the stop order is in the past

StopOrderRejectionReason.REJECTION_REASON_MUST_BE_REDUCE_ONLY

Stop orders submission must be reduce only

StopOrderRejectionReason.REJECTION_REASON_MAX_STOP_ORDERS_PER_PARTY_REACHED

Party has reached the maximum stop orders allowed for this market

StopOrderRejectionReason.REJECTION_REASON_STOP_ORDER_NOT_ALLOWED_WITHOUT_A_POSITION

Stop orders are not allowed without a position

StopOrderRejectionReason.REJECTION_REASON_STOP_ORDER_DOES_NOT_CLOSE_POSITION

This stop order does not close the position

Member of

StopOrder object