OrderRejectionReason
Why the order was rejected by the core node
enum OrderRejectionReason {
ORDER_ERROR_INVALID_MARKET_ID
ORDER_ERROR_INVALID_ORDER_ID
ORDER_ERROR_OUT_OF_SEQUENCE
ORDER_ERROR_INVALID_REMAINING_SIZE
ORDER_ERROR_TIME_FAILURE
ORDER_ERROR_REMOVAL_FAILURE
ORDER_ERROR_INVALID_EXPIRATION_DATETIME
ORDER_ERROR_INVALID_ORDER_REFERENCE
ORDER_ERROR_EDIT_NOT_ALLOWED
ORDER_ERROR_AMEND_FAILURE
ORDER_ERROR_NOT_FOUND
ORDER_ERROR_INVALID_PARTY_ID
ORDER_ERROR_MARKET_CLOSED
ORDER_ERROR_MARGIN_CHECK_FAILED
ORDER_ERROR_MISSING_GENERAL_ACCOUNT
ORDER_ERROR_INTERNAL_ERROR
ORDER_ERROR_INVALID_SIZE
ORDER_ERROR_INVALID_PERSISTENCE
ORDER_ERROR_INVALID_TYPE
ORDER_ERROR_SELF_TRADING
ORDER_ERROR_INSUFFICIENT_FUNDS_TO_PAY_FEES
ORDER_ERROR_INVALID_TIME_IN_FORCE
ORDER_ERROR_CANNOT_AMEND_TO_GTT_WITHOUT_EXPIRYAT
ORDER_ERROR_EXPIRYAT_BEFORE_CREATEDAT
ORDER_ERROR_CANNOT_HAVE_GTC_AND_EXPIRYAT
ORDER_ERROR_CANNOT_AMEND_TO_FOK_OR_IOC
ORDER_ERROR_CANNOT_AMEND_TO_GFA_OR_GFN
ORDER_ERROR_CANNOT_AMEND_FROM_GFA_OR_GFN
ORDER_ERROR_CANNOT_SEND_GFN_ORDER_DURING_AN_AUCTION
ORDER_ERROR_CANNOT_SEND_GFA_ORDER_DURING_CONTINUOUS_TRADING
ORDER_ERROR_CANNOT_SEND_IOC_ORDER_DURING_AUCTION
ORDER_ERROR_CANNOT_SEND_FOK_ORDER_DURING_AUCTION
ORDER_ERROR_MUST_BE_LIMIT_ORDER
ORDER_ERROR_MUST_BE_GTT_OR_GTC
ORDER_ERROR_WITHOUT_REFERENCE_PRICE
ORDER_ERROR_BUY_CANNOT_REFERENCE_BEST_ASK_PRICE
ORDER_ERROR_OFFSET_MUST_BE_GREATER_OR_EQUAL_TO_ZERO
ORDER_ERROR_SELL_CANNOT_REFERENCE_BEST_BID_PRICE
ORDER_ERROR_OFFSET_MUST_BE_GREATER_THAN_ZERO
ORDER_ERROR_INSUFFICIENT_ASSET_BALANCE
ORDER_ERROR_CANNOT_AMEND_PEGGED_ORDER_DETAILS_ON_NON_PEGGED_ORDER
ORDER_ERROR_UNABLE_TO_REPRICE_PEGGED_ORDER
ORDER_ERROR_UNABLE_TO_AMEND_PRICE_ON_PEGGED_ORDER
ORDER_ERROR_NON_PERSISTENT_ORDER_OUT_OF_PRICE_BOUNDS
ORDER_ERROR_INCORRECT_MARKET_TYPE
ORDER_ERROR_TOO_MANY_PEGGED_ORDERS
ORDER_ERROR_REDUCE_ONLY_ORDER_WOULD_NOT_REDUCE
ORDER_ERROR_POST_ONLY_ORDER_WOULD_TRADE
}
Values
OrderRejectionReason.ORDER_ERROR_INVALID_MARKET_ID
Market ID is invalid
OrderRejectionReason.ORDER_ERROR_INVALID_ORDER_ID
Order ID is invalid
OrderRejectionReason.ORDER_ERROR_OUT_OF_SEQUENCE
Order is out of sequence
OrderRejectionReason.ORDER_ERROR_INVALID_REMAINING_SIZE
Remaining size in the order is invalid
OrderRejectionReason.ORDER_ERROR_TIME_FAILURE
Time has failed us
OrderRejectionReason.ORDER_ERROR_REMOVAL_FAILURE
Unable to remove the order
OrderRejectionReason.ORDER_ERROR_INVALID_EXPIRATION_DATETIME
Expiration time is invalid
OrderRejectionReason.ORDER_ERROR_INVALID_ORDER_REFERENCE
Order reference is invalid
OrderRejectionReason.ORDER_ERROR_EDIT_NOT_ALLOWED
Edit is not allowed
OrderRejectionReason.ORDER_ERROR_AMEND_FAILURE
Amending the order failed
OrderRejectionReason.ORDER_ERROR_NOT_FOUND
Order does not exist
OrderRejectionReason.ORDER_ERROR_INVALID_PARTY_ID
Party ID is invalid
OrderRejectionReason.ORDER_ERROR_MARKET_CLOSED
Market is closed
OrderRejectionReason.ORDER_ERROR_MARGIN_CHECK_FAILED
Margin check failed - not enough available margin
OrderRejectionReason.ORDER_ERROR_MISSING_GENERAL_ACCOUNT
Order missing general account
OrderRejectionReason.ORDER_ERROR_INTERNAL_ERROR
An internal error happened
OrderRejectionReason.ORDER_ERROR_INVALID_SIZE
Invalid size
OrderRejectionReason.ORDER_ERROR_INVALID_PERSISTENCE
Invalid persistence
OrderRejectionReason.ORDER_ERROR_INVALID_TYPE
Invalid type
OrderRejectionReason.ORDER_ERROR_SELF_TRADING
Order cannot be filled because it would require self trading
OrderRejectionReason.ORDER_ERROR_INSUFFICIENT_FUNDS_TO_PAY_FEES
Insufficient funds to pay fees
OrderRejectionReason.ORDER_ERROR_INVALID_TIME_IN_FORCE
Invalid Time In Force
OrderRejectionReason.ORDER_ERROR_CANNOT_AMEND_TO_GTT_WITHOUT_EXPIRYAT
Attempt to amend order to Good til Time without expiry time
OrderRejectionReason.ORDER_ERROR_EXPIRYAT_BEFORE_CREATEDAT
Attempt to amend expiry time to a value before time order was created
OrderRejectionReason.ORDER_ERROR_CANNOT_HAVE_GTC_AND_EXPIRYAT
Attempt to amend to Good till Cancelled without an expiry time
OrderRejectionReason.ORDER_ERROR_CANNOT_AMEND_TO_FOK_OR_IOC
Amending to Fill or Kill, or Immediate or Cancel is invalid
OrderRejectionReason.ORDER_ERROR_CANNOT_AMEND_TO_GFA_OR_GFN
Amending to Good for Auction or Good for Normal is invalid
OrderRejectionReason.ORDER_ERROR_CANNOT_AMEND_FROM_GFA_OR_GFN
Amending from Good for Auction or Good for Normal is invalid
OrderRejectionReason.ORDER_ERROR_CANNOT_SEND_GFN_ORDER_DURING_AN_AUCTION
Good for Normal order received during an auction
OrderRejectionReason.ORDER_ERROR_CANNOT_SEND_GFA_ORDER_DURING_CONTINUOUS_TRADING
Good for Auction order received during continuous trading
OrderRejectionReason.ORDER_ERROR_CANNOT_SEND_IOC_ORDER_DURING_AUCTION
Cannot send IOC orders during an auction
OrderRejectionReason.ORDER_ERROR_CANNOT_SEND_FOK_ORDER_DURING_AUCTION
Cannot send FOK orders during an auction
OrderRejectionReason.ORDER_ERROR_MUST_BE_LIMIT_ORDER
Pegged orders must be limit orders
OrderRejectionReason.ORDER_ERROR_MUST_BE_GTT_OR_GTC
Pegged orders can only have a time in force of Good til Cancelled or Good til Time
OrderRejectionReason.ORDER_ERROR_WITHOUT_REFERENCE_PRICE
Pegged order must have a reference price
OrderRejectionReason.ORDER_ERROR_BUY_CANNOT_REFERENCE_BEST_ASK_PRICE
Buy pegged order cannot reference best ask price
OrderRejectionReason.ORDER_ERROR_OFFSET_MUST_BE_GREATER_OR_EQUAL_TO_ZERO
Pegged order offset must be >= 0
OrderRejectionReason.ORDER_ERROR_SELL_CANNOT_REFERENCE_BEST_BID_PRICE
Sell pegged order cannot reference best bid price
OrderRejectionReason.ORDER_ERROR_OFFSET_MUST_BE_GREATER_THAN_ZERO
Pegged order offset must be > zero
OrderRejectionReason.ORDER_ERROR_INSUFFICIENT_ASSET_BALANCE
Insufficient balance to submit the order (no deposit made)
OrderRejectionReason.ORDER_ERROR_CANNOT_AMEND_PEGGED_ORDER_DETAILS_ON_NON_PEGGED_ORDER
Cannot change pegged order fields on a non pegged order
OrderRejectionReason.ORDER_ERROR_UNABLE_TO_REPRICE_PEGGED_ORDER
Unable to reprice a pegged order
OrderRejectionReason.ORDER_ERROR_UNABLE_TO_AMEND_PRICE_ON_PEGGED_ORDER
Unable to amend pegged order price
OrderRejectionReason.ORDER_ERROR_NON_PERSISTENT_ORDER_OUT_OF_PRICE_BOUNDS
Non-persistent order exceeds price bounds
OrderRejectionReason.ORDER_ERROR_INCORRECT_MARKET_TYPE
Order was submitted with an incorrect or invalid market type
OrderRejectionReason.ORDER_ERROR_TOO_MANY_PEGGED_ORDERS
Unable to submit pegged order, temporarily too many pegged orders across all markets
OrderRejectionReason.ORDER_ERROR_REDUCE_ONLY_ORDER_WOULD_NOT_REDUCE
A reduce-ony order would not reduce the party's position and thus it has been rejected
OrderRejectionReason.ORDER_ERROR_POST_ONLY_ORDER_WOULD_TRADE
A post-only order would produce an aggressive trade and thus it has been rejected
Member of
Order
object ● OrderUpdate
object