AccountTypeCapabilities
The different attributes that an Account may have to impact functionality in the system.
Conceptual Types
AccountTypes have certain capabilities attached to them. The system enables certain features and functionality based on the bits from this type that are activated for a particular AccountType. There are a few conceptual types of account defined in terms of system functionality;
- Brokerage
IsBrokerAccount- not
CanBeParent - not
IsRollUp
- Firm
IsBrokerAccountCanBeParent
- Rollup
IsBrokerAccountIsRollUp
Metadata
- Underlying type:
u16
Values
| Key | Value | Description |
|---|---|---|
| CanBeParent | 1 | Account may be a parent account to another account. An Account may not be it's own parent. |
| IsRollUp | 2 | Account is a "roll-up" of it's children. All activities performed on a child are reflected in a rollup parent. This is currently only available in an Auction event. |
| RequireExternalFk | 4 | Account must have an ExternalFK value set. This is an internal MarketGrid reference. |
| ParentNoHoldingTransactions | 8 | This is an internal capability for backwards compatibility handling of Accounts that are parents. |
| IsBrokerAccount | 16 | Labelling this as a broker account. This only has a functional impact in an Auction event. |
| IsMarketMaker | 32 | Labels this Account as a market maker account. There is an internal distinction for the way data is stored for this kind of account if the running system is using optimised change tables. |
| IsSuspenseAccount | 64 | Account is a suspense account for collection of various erroneous transactions encountered elsewhere in the ledger components. |
| CanGoNegative | 128 | The balances on the Account may go negative. |
| IsFeeAccount | 256 | Can be used to accrue fees for trading activity. |
| IsIssuerAccount | 512 | Labels this as the Account for a primary issue for an Auction event. Other than for initialising such an Auction this capability has no functional impact. |
| ActivateNew | 1024 | Account will be made active at the time of first creation. |
| IsOperatingAccount | 2048 | Account is the ZBA operating account for the ledger. |
Referenced by
Tables
| Table | Field | Description |
|---|---|---|
| AccountType | Capabilities |