Status

Status is used throughout MarketGrid to control the functional behaviour of different entities in the system. It is implemented as a bit mask of the values from the Status enumeration.

Overview

A comprehensive description of the way in which Status works is provided in the Status and Functional Control document.

Metadata

  • Underlying type: u32

Values

KeyValueDescription
None0An empty Status mask
Active1Any record that does not have the Active bit set is effectively deleted and is a candidate to be purged from the matching engine when the matching engine is next cycled.
Normal2A record that does not have the Normal bit set is suspended. The implications for a suspended record is dependent on the kind of record in question. See the Status and Functional Control documentation for a detailed explanation of the impact of being "Suspended" in MarketGrid.
BuyOrdersAccepted4The Product or Actor in question will accept or can enter Buy Orders.
SellOrdersAccepted8The Product or Actor in question will accept or can enter Sell Orders.
AmendAccepted16The Product or Actor in question can amend Orders.
CancelAccepted32The Product or Actor in question can enter or accept Order cancellations.
OneSideReportsAccepted64The Product or Actor in question can enter or accept one sided TradeReports transactions.
TwoSideReportsAccepted128The Product or Actor in question can enter or accept two sided TradeReports transactions. That is the entry of all counter party information at the time of deal creation.
CrossesAccepted256A cross is defined as when the same trading user is effectively on both sides of a reported Trade. This is only permitted when both the InstrumentMarket and User have this value set.
ExecutesAccepted512The Product or Actor in question can enter or accept two sided TradeReports transactions in the fully executed state at the time of deal reporting. That is the entry of all counter party information at the time of deal creation and leading to an immediately executed Trade.
ConfirmOrders1024The Product or Actor can accept or will be compelled to confirm the details of an Order entry transaction before it is sent to the matching engine.
RfqAccepted2048The Product or Actor in question can enter or accept RequestForQuote transactions.
RequirePostPermission4096The InstrumentMarket requires that a User has the PostOrder permission in order to submit an order that might rest in the book.
Closed8192The entity in question is "Closed". The functional implication of being "Closed" is dependent on the type of entity in question and the context in which the test is being performed. Accounts are particularly "Closed" when they are no longer in use but still required for historical purposes
Terminated16384Labelling an Auction or AuctionPhase as "Terminated" makes it unusable and distinguishes from normal completion of the event.
DenyDepositNonAdmin32768The Instrument in question does not permit normal Users to create Deposit HoldingTransactions. Only Users with the ApproveDeny Permission on the Holding table are permitted to make deposits.
DenyWithdrawNonAdmin65536The Instrument in question does not permit normal Users to create Withdrawal HoldingTransactions. Only Users with the ApproveDeny Permission on the Holding table are permitted to make withdrawals.
Released67108864The entity in question is to be released to the system and is now visible as with a normal record. That is it should be unhidden and have the Release status removed.
Hidden134217728The entity in question is hidden from the general Users in the system. This is normally when the record is created but before it is ready for general use.
ForceUnload268435456Force this record to be unloaded to cache files even if it would otherwise be "purged" from the matching engine during a write down.
BootstrapUser536870912A special status for the private User that is used to bootstrap the data in the system. This identifies this class of User to the engine to ensure it is used appropriately.
UnloadAllTrades1073741824Unload all the Trades when the SystemStatus has this Status. This is currently reserved for future use.
EngineOnly2147483648These entities are only relevant in the matching engine and so may receive special treatment during a system cycle depending on the type of the entity to which the Status has been applied.
Orders4092A consolidated mask of all the Order related Statuses to test for or mask their presence collectively.

Referenced by

Tables

TableFieldDescription
AccountStatus
AccountWorkingStatus
Account_static_changeStatus
AccountLinkStatus
AccountTypeStatus
AuctionStatus
Auction_static_changeStatus
AuctionAccountStatus
AuctionAccountWorkingStatusThe Status for an AuctionAccount taking into account the status of AuctionAccounts higher in the hierarchy of accounts (if applicable).
AuctionAccount_childrenStatus
AuctionAccount_static_changeStatus
AuctionAccountAllocationStatus
AuctionAccountAllocation_changeStatus
AuctionAccountDetailStatus
AuctionAccountDetail_static_changeStatus
AuctionAccountRelationshipStatus
AuctionAccountRelationship_static_changeStatus
AuctionSessionStatus
AuctionSession_static_changeStatus
AuctionSettlementClassStatus
AuctionSettlementClass_static_changeStatus
BankAccountStatus
BankTransactionStatus
BankTransaction_changeStatus
BlobObjectStatus
BlobObject_changeStatus
BlotterStatus
Blotter_static_changeStatus
CalendarStatus
CalendarEntryStatus
CcmxKafkaHB_changeStatus
CcmxRecovery_changeStatus
ContactDetailStatus
CountryStatus
EnterpriseStatus
EnterpriseWorkingStatusThe currently active value of the Status attribute. The Status of the Enterprise. This is a bit field as defined in the Status_ table.
Enterprise_static_changeStatus
EquityClassStatus
ExchangeRateStatus
ExchangeRate_changeStatus
ExternalAccountStatus
ExternalAccountProviderStatus
FeeStatus
FeeSetStatus
FirmStatus
FirmWorkingStatusThe Firm's current Status taking into account the Enterprise's Status.
FirmAccountTypeStatus
FirmNameStatus
GroupStatus
GroupUserStatus
HoldingStatus
Holding_changeStatus
Holding_full_changeStatus
HoldingReservationStatus
HoldingReservation_changeStatus
HoldingTransactionStatus
HoldingTransaction_changeStatus
InboundBankTransfer_changeStatus
IndustryStatus
InstrumentStatus
Instrument_static_changeStatus
InstrumentGroupStatus
InstrumentMarketStatus
InstrumentMarketWorkingStatus
KafkaTransactionEnd_changeStatus
Level1_changeStatus
Level1Snap_changeStatus
Level3_changeStatus
MarketStatus
Market_static_changeStatus
MarketEligibleEquityClassStatus
OptionExerciseStatus
OrderStatus
Order_changeStatus
Order_full_changeStatus
OrderBookStatus
OrderBook_changeStatus
OrderBookSnap_changeStatus
OrderNotionalStatus
OrderNotional_changeStatus
OrderRoutingStatusStatus
OutboundBankTransfer_changeStatus
PendingOutboundBankTransfer_changeStatus
PermissionStatus
PermissionGroupStatus
PriceStepSetStatus
PriceStepSetBreakStatus
ProjectTypeStatus
QuantityStepSetStatus
QuantityStepSetBreakStatus
RegionStatus
RegistryAccountStatus
Reply_changeStatus
RFQStatus
RFQ_changeStatus
RFQCounterPartyStatus
RFQRecipientStatus
RFQRecipient_changeStatus
RoutingStateStatus
SectorStatus
SecuritySoldStatus
SessionStatus
SessionSessionStatusWhen non-zero, the Status that will be set on the targeted product upon session change.
SessionTimeStatus
SessionTimeRecordStatus
SettlementClassStatus
SettlementClass_static_changeStatus
SettlementInstructions_changeStatus
Static_changeStatus
StaticNew_changeStatus
SystemStatus
SystemSystemStatusThe top level status of the system. It provides a single overriding status that allows the system to be suspended (or activated) from a single attribute.
TimeSales_changeStatus
TimeZoneStatus
TradeStatus
Trade_changeStatus
Trade_childrenStatus
TradeFeeStatus
TradeFee_changeStatus
TradePreliminarySettlementDataStatus
TradePreliminarySettlementData_changeStatus
TradeReport_changeStatus
UserStatus
UserWorkingStatus
UserNameStatus
VenueStatus
VenueWorkingStatus
VirtualReferenceNumberStatus

Messages

MessageFieldDescription
SessionChangeRecordStatus
StatusSetStatus