SecuritySold

This table holds securities sold information for each trade-option combo. It is used for reporting and not for MarketGrid processing.

Metadata

  • Base Table Class: Static
  • Default Size: Trade * 2 = 2000

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this SecuritySold.
StatusSet of Status4
TradeForeign key to Trade8Settlement transaction that applies to the Trade.Id.
LabelString48The long text identifier of this SecuritySold.
QuantityInteger (signed)8
CostBasisInteger (signed)8
AcquisitionDateInteger (unsigned)8The timestamp of this record.
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.
OwnerUserForeign key to User8The Id of the User that owns this SecuritySold.
OwnerGroupForeign key to Group8The Id of the Group that owns this SecuritySold.
OwnerFirmForeign key to Firm8The Id of the Firm that owns this SecuritySold.
CreateUserForeign key to User8The Id of the User that created this SecuritySold.
CreateTimestampInteger (unsigned)8The time at which this SecuritySold was created.
UpdateUserForeign key to User8The Id of the User that last updated this SecuritySold.
UpdateTimestampInteger (unsigned)8The time at which this SecuritySold was last updated.