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
    • IsBrokerAccount
    • CanBeParent
  • Rollup
    • IsBrokerAccount
    • IsRollUp

Metadata

  • Underlying type: u16

Values

KeyValueDescription
CanBeParent1Account may be a parent account to another account. An Account may not be it's own parent.
IsRollUp2Account 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.
RequireExternalFk4Account must have an ExternalFK value set. This is an internal MarketGrid reference.
ParentNoHoldingTransactions8This is an internal capability for backwards compatibility handling of Accounts that are parents.
IsBrokerAccount16Labelling this as a broker account. This only has a functional impact in an Auction event.
IsMarketMaker32Labels 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.
IsSuspenseAccount64Account is a suspense account for collection of various erroneous transactions encountered elsewhere in the ledger components.
CanGoNegative128The balances on the Account may go negative.
IsFeeAccount256Can be used to accrue fees for trading activity.
IsIssuerAccount512Labels 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.
ActivateNew1024Account will be made active at the time of first creation.
IsOperatingAccount2048Account is the ZBA operating account for the ledger.

Referenced by

Tables

TableFieldDescription
AccountTypeCapabilities