OrderReason

This field indicates the reason for the last time that an Order was updated.

Metadata

  • Underlying type: u8

Values

KeyValueDescription
New1Newly entered order.
Traded2The order was partially matched.
TradingLimit3Not used.
SessionOrder4The order was withdrawn at the end of the last Session.
SessionChange5Not used.
StatusChange6The order's status was changed via a manual operation.
Expiry7The order expired due to a good till requirement.
ImmediateType8An immediate order is withdrawn if it is not matched immeidately upon entry.
Matched9The order was fully matched.
Cancelled10The order was cancelled by an authorised user.
Amended11The order was amended.
AccountChanged12The order's Account was changed.
Rejected15A one-sided report is withdrawn due to being rejected.
ReportBuyerReject16A two-sided report is withdrawn due to being rejected buy the buyer.
ReportSellerReject17A two-sided report is withdrawn due to being rejected buy the seller.
ReportConfirmed18A two-sided report is confirmed.
CashBalance19Not used
HoldingBalance20An order that uses value matching is withdrawn due to having insufficient holding balance.
Held21The order is moved to a Held state.
Released22A Held order is released to the market.
RuleChange23The order changed state due to a change in rules for the Session.
CpNoprop29An RFQ order cannot be propagated to any counterparties.
RfqNegotiate30An order is withdrawn as part of a negotiation thread for RFQs.
RfqRejected31An order as part of a terminated negotiation thread for RFQs is rejected by the requestor.
RfqTerminated32An order is withdrawn as part of a terminated negotiation thread for RFQs.
RfqReactivated33An order is restored as part of a re-activeated negotiation thread for RFQs.
BlotterHeld34The order is Held and moved to a Blotter.
ParentRepropagated35Not used.
ValueOrder36A value order is converted to a quantity order during matching.
Marketthenlimit37A market order is convert to a limit order during matching.
SelfTradePrevent38The order is withdrawn due to a self-trade prevention constraint.
ValueNoBalance39A value order is withdrawn due to having insufficient value to be matched with even quantity of one.
Minquantity40The order is withdrawn due to not meeting a minimum quantity constraint.
Minvalue41The order is withdrawn due to not meeting a minimum value constraint.
UserDisconnected42An order is withdrawn due to the order's User being disconnected from the API.
UserLogout44An order is withdrawn due to the order's User logging out from the API.
NewTraded45Should be deprecated - specific for OSL data distribution requirements.
Liquidation46Not used.
StateChange47Not used.
AdlCounterparty48Not used.
LpBreach49Not used.
CloseAllPositions50Not used.
CloseOutOrder51Not used.
AuctionThreshold52For a Carta Cross, the order was removed due to not meeting the required threshold price at the end of a phase.
SoftBlocked53An order's status is changed due to it's Account being soft blocked.
Unblocked54An order's status is changed due to it's Account being unblocked.
Unfunded55For a Carta Cross transaction, the order is withdrawn due to its Auction Account becoming unfunded.
RestoredForFunding56For a Carta Cross transaction, the original for an amended order is restored due to its Auction Account becoming unfunded.
SoftBlockOverride57A blocked order (due to a soft block) is manually unblocked by a status change.
AuctionTerminated58For a CCMX transaction, the order is withdrawn due to it's Auction being terminated.
BulkCancelled61For a Carta Cross transaction, the order is withdrawn due to its Auction Account becoming unfunded as part of a bulk withdraw.
BulkAuctionThreshold62For a Carta Cross, the order was removed due to not meeting the required threshold price at the end of a phase as part of a bulk withdraw.
BulkStatusChange63The order's status was changed via a manual operation as part of a bulk change.
BulkSoftBlocked64An order's status is changed due to it's Account being soft blocked as part of a bulk change.
BulkUnfunded65For a Carta Cross transaction, the order is withdrawn due to its Auction Account becoming unfunded as part of a bulk withdraw.
InvalidSettlementClass66The order is withdrawn because its Settlement Class was removed.
SettlementClassPriceChange67The price for the order's Settlement Class changed resulting in the order price changing or the order being withdrawn.
Loaded81The order was loaded from cache (or tsv) file on startup of the Matching Engine.
Cycled82The Matching Engine was cycled.
ParentRemoved90An order is removed from the order book because it has a parent order that was removed.
SessionValidate97Not used.
Unsuspended98An order is unsuspended during start up or session change due to becoming valid.
Suspended99An order is suspended during start up or session change due to becoming invalid.

Referenced by

Tables

TableFieldDescription
OrderReason
Order_changeReason
Order_full_changeReason