SessionParam
Submit a session change transaction for a product (or group of products), with a specific parameter applied for the session change.
- Section: Transactions
- Related Message: SessionParamReply
For changing a session, use the SessionSet message instead.
This message is likely to be deprecated, as the functionality is generally encompassed in StaticUpdate.
Metadata
- Message Type: TransactionMessage
- Message Number: 1015
Inherited fields
| Name | Type | Size (bytes) | Description |
|---|---|---|---|
| MessageType | Integer (unsigned) | 2 | The unique identifier of this message. |
| ClientId | Integer (unsigned) | 4 | The unique identifier of a session with the server, returned in a successful LoginReply message. |
| RequestId | Integer (unsigned) | 4 | Within each session each message must be uniquely identified by this field. It must be monotonically increasing for the duration of the session. |
Fields
| Name | Type | Size (bytes) | Description |
|---|---|---|---|
| Table | One of Table | 1 | Table number of the record to apply the session param change. The permitted tables are Market, InstrumentGroup, Instrument and InstrumentMarket |
| Id | Foreign key to All | 8 | Id of the record to apply the session change |
| Parameter | One of SessionParam | 1 | |
| Value | Integer (signed) | 8 | |
| ClearFlag | Integer (unsigned) | 1 | Set to withdraw all orders in the product(s) which will have their session changed. |