Session

The Sessions that define the matching algorithms that may be used for Products are maintained in this table.

Metadata

  • Base Table Class: Static
  • Default Size: 100

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this Session.
StatusSet of Status4
ShortNameString24The short text identifier of this Session.
CodeOne of Session2
TypeOne of SessionType1
NameString48The long text identifier of this Session.
OrderTypeSet of OrderType4
SessionStatusSet of Status4When non-zero, the Status that will be set on the targeted product upon session change.
SkipReloadOrdersInteger (unsigned)1
Param1Integer (signed)8
Param2Integer (signed)8
Param3Integer (signed)8
Param4Integer (signed)8
Param5Integer (signed)8
Param6Integer (signed)8
Param7Integer (signed)8
Param8Integer (signed)8
Param9Integer (signed)8
Param10Integer (signed)8
Param11Integer (signed)8
Param12Integer (signed)8
Param13String255
Param14String255
Param15String255
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 Session.
OwnerGroupForeign key to Group8The Id of the Group that owns this Session.
OwnerFirmForeign key to Firm8The Id of the Firm that owns this Session.
CreateUserForeign key to User8The Id of the User that created this Session.
CreateTimestampInteger (unsigned)8The time at which this Session was created.
UpdateUserForeign key to User8The Id of the User that last updated this Session.
UpdateTimestampInteger (unsigned)8The 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"