HoldingTransaction_change

This is an entity to record changes in the HoldingTransaction structure. It holds records that are already prepared for sending out via the market data streams (for example resolving internal shared memory indexes into external foreign key Ids)

Metadata

  • Base Table Class: Change
  • Default Size: HoldingTransaction * 2 = 2000

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this HoldingTransaction.
StatusSet of Status4
TimestampInteger (unsigned)8The time at which this change record was generated. This is not the same as the business-level timestamp of this HoldingTransaction_change.
ExternalAccountForeign key to ExternalAccount8
ExternalTimestampInteger (unsigned)8
RecordIdInteger (signed)8
HoldingForeign key to Holding8
PairedHoldingTransactionForeign key to HoldingTransaction8
FirmForeign key to Firm8
InstrumentForeign key to Instrument8
TagString50For tagged Instruments, this is the identifier of the individual holding.
ExternalIdString30A place for writing the identifier of this HoldingTransaction_change at the external venue where it is managed.
ExternalTransactionIdString20A place for writing the identifier of the external transaction that is connected with this HoldingTransaction_change record at the external venue to which it is related.
QuantityDecimalsInteger (unsigned)1The number of decimal places that should be used when interpreting quantities for this HoldingTransaction_change. Quantities within MarketGrid are stored and communicated as integers with fixed numbers of decimals. This field specifies how many digits are to the right of the decimal point. For example, a quantity of 12345 with QuantityDecimals set to 3 means 12.345.
QuantityInteger (signed)8
PrevQuantityInteger (signed)8
BalanceInteger (signed)8The Balance in the Holding record after application of this Holding Transaction.
AvailableBalanceInteger (signed)8The AvailableBalance in the Holding record after application of this Holding Transaction.
AvailableToTransferInteger (signed)8The usesable balance in the Holding record after application of this Holding Transaction.
TypeOne of HoldingTransactionType1
HoldingTransactionStatusOne of HoldingTransactionStatus1
ExternalStatusString1024
ReasonOne of HoldingTransactionReason1
SuspenseAccountReasonOne of Result2
VerifyExternalInteger (unsigned)1
NoParentInteger (unsigned)1
ProjectIdString50The identifier of the specific project at the external register associated with this HoldingTransaction_change record.
VintageInteger (unsigned)4A year in YYYY format.
ProjectTypeForeign key to ProjectType8
RegionForeign key to Region8
CountryForeign key to Country8
AccountForeign key to Account8
AccountNameString254
TradeForeign key to Trade8If this transaction is related to settlement of a trade, this is the particular trade to which it applies.
TradeSettlementTypeOne of TradeSettlementType1The type of trade settlement transction.
TradeCostsActionOne of TradeCostsAction1The action for a trade costs transaction.
TradeReportForeign key to Order8
BankTransactionForeign key to BankTransaction8
LinkedHoldingTransactionForeign key to HoldingTransaction8For a transaction resulting from a bank ACH return, this links back to the transaction generated by the original ACH request.
HoldingTransactionSourceOne of Source1
HoldingTransactionMetaDataString2000
BankTransactionErrorMessageString100
CreateMemoString100
VerifyMemoString100
ConfirmAfterDaysInteger (unsigned)2
ConfirmAfterInteger (unsigned)8
DenyVoidTransactionInteger (unsigned)1Setting this attribute to true removes the 'Void' transaction option when dealing with an Unconfirmed HoldingTransaction. It is inherited from the ExternalAccountProvider of the Instrument.
IsForNettingInteger (unsigned)1
IsPayrollProceedsInteger (unsigned)1
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
BCSequenceInteger (unsigned)8The sequence number of this HoldingTransaction_change message in the overall broadcast sequence.
ReloadedInteger (unsigned)1Set to true for change records that are generated during a normal startup from engine cache files.
InstanceIdInteger (unsigned)4
RunIdInteger (unsigned)4
ChangedFieldOne of KVPKey4
CreateUserForeign key to User8The Id of the User that created this HoldingTransaction.
CreateTimestampInteger (unsigned)8The time at which this HoldingTransaction was created.
UpdateUserForeign key to User8The Id of the User that last updated this HoldingTransaction.
UpdateTimestampInteger (unsigned)8The time at which this HoldingTransaction was last updated.