Blotter
- Section: Trading
Metadata
- Base Table Class: Static
- Default Size: User * Constants::MaxBlottersPerUser = 100
Fields
| Name | Type | Size (bytes) | Description |
|---|---|---|---|
| Id | Integer (signed) | 8 | The unique identifier of this Blotter. |
| Status | Set of Status | 4 | |
| Name | String | 48 | The long text identifier for this record in the Blotter table |
| User | Foreign key to User | 8 | The User Table contains a list of the UserIds that are used by individuals to log into the Trading System. |
| BlotterStatus | One of BlotterStatus | 1 | |
| Type | One of BlotterType | 1 | |
| Side | One of OrderSide | 1 | Whether this is a Buy (0) or a Sell (1). |
| Count | Integer (unsigned) | 4 | |
| IsNew | Integer (unsigned) | 1 | |
| LimitValue | Integer (signed) | 8 | |
| CurrentValue | Integer (signed) | 8 | |
| 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 Blotter. |
| OwnerGroup | Foreign key to Group | 8 | The Id of the Group that owns this Blotter. |
| OwnerFirm | Foreign key to Firm | 8 | The Id of the Firm that owns this Blotter. |
| CreateUser | Foreign key to User | 8 | The Id of the User that created this Blotter. |
| CreateTimestamp | Integer (unsigned) | 8 | The time at which this Blotter was created. |
| UpdateUser | Foreign key to User | 8 | The Id of the User that last updated this Blotter. |
| UpdateTimestamp | Integer (unsigned) | 8 | The time at which this Blotter was last updated. |
Foreign Keys
The following diagram shows the tables that have a foreign key link to the Blotter table. All Table nodes can be clicked to take you to that table's definition page.
graph LR; Order-->|Blotter|Blotter click Order "/marketgrid/developer/model/tables/Order"