Session
The Sessions that define the matching algorithms that may be used for Products are maintained in this table.
- Section: Products
Metadata
- Base Table Class: Static
- Default Size: 100
Fields
| Name | Type | Size (bytes) | Description |
|---|---|---|---|
| Id | Integer (signed) | 8 | The unique identifier of this Session. |
| Status | Set of Status | 4 | |
| ShortName | String | 24 | The short text identifier of this Session. |
| Code | One of Session | 2 | |
| Type | One of SessionType | 1 | |
| Name | String | 48 | The long text identifier of this Session. |
| OrderType | Set of OrderType | 4 | |
| SessionStatus | Set of Status | 4 | When non-zero, the Status that will be set on the targeted product upon session change. |
| SkipReloadOrders | Integer (unsigned) | 1 | |
| Param1 | Integer (signed) | 8 | |
| Param2 | Integer (signed) | 8 | |
| Param3 | Integer (signed) | 8 | |
| Param4 | Integer (signed) | 8 | |
| Param5 | Integer (signed) | 8 | |
| Param6 | Integer (signed) | 8 | |
| Param7 | Integer (signed) | 8 | |
| Param8 | Integer (signed) | 8 | |
| Param9 | Integer (signed) | 8 | |
| Param10 | Integer (signed) | 8 | |
| Param11 | Integer (signed) | 8 | |
| Param12 | Integer (signed) | 8 | |
| Param13 | String | 255 | |
| Param14 | String | 255 | |
| Param15 | String | 255 | |
| UpdateNumber | Integer (unsigned) | 8 | A 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. |
| OwnerUser | Foreign key to User | 8 | The Id of the User that owns this Session. |
| OwnerGroup | Foreign key to Group | 8 | The Id of the Group that owns this Session. |
| OwnerFirm | Foreign key to Firm | 8 | The Id of the Firm that owns this Session. |
| CreateUser | Foreign key to User | 8 | The Id of the User that created this Session. |
| CreateTimestamp | Integer (unsigned) | 8 | The time at which this Session was created. |
| UpdateUser | Foreign key to User | 8 | The Id of the User that last updated this Session. |
| UpdateTimestamp | Integer (unsigned) | 8 | The time at which this Session was last updated. |
Foreign Keys
The following diagram shows the tables that have a foreign key link to the Session table. All Table nodes can be clicked to take you to that table's definition page.
graph LR; Auction-->|Session|Session click Auction "/marketgrid/developer/model/tables/Auction" AuctionSession-->|EntrySession|Session AuctionSession-->|ExitSession|Session click AuctionSession "/marketgrid/developer/model/tables/AuctionSession" Instrument-->|Session|Session click Instrument "/marketgrid/developer/model/tables/Instrument" InstrumentGroup-->|Session|Session click InstrumentGroup "/marketgrid/developer/model/tables/InstrumentGroup" InstrumentMarket-->|Session|Session click InstrumentMarket "/marketgrid/developer/model/tables/InstrumentMarket" Market-->|Session|Session click Market "/marketgrid/developer/model/tables/Market" SessionTime-->|Session|Session click SessionTime "/marketgrid/developer/model/tables/SessionTime"