Position Keeping

MarketGrid can validate client accounts for order entry and can maintain holding positions in traded Instruments. It does so through an Account table and a Holding table.

For some markets, the Account Table and Holding Table are derived daily from the Depository System and as such, are not directly maintained in the Trading System Static Database. Rather, the data for each is loaded daily from the Depository System before the start of trading. However, for completeness, the tables are described in the following sub-sections.

Account →

An Account is the element in the model that links trading activity to the users undertaking that activity. All Accounts are owned by a Firm and it against one of these Accounts that Holding records are managed in the system.

AccountType →

`AccountTypes` provide a categorisation of `Accounts` in MarketGrid.

BankAccount →

A BankAccount record is used to represent further information for an ExternalAccount record where the authority issuing the account is a bank.

ExternalAccount →

An ExternalAccount represents a account for whom the authority is outside of MarketGrid: for example, an account with a share registry or a bank.

ExternalAccountProvider →

An ExternalAccountProvider represents the authority that issued that account (for example, the registry or bank).

FirmAccountType →

Mapping which `AccountTypes` may be used for particular `Firms`. It also determines which `FeeSet` if any should be applied for this kind of `Account`.

Holding →

A Holding describes the position held by an Account_ for a given Instrument_. Such a position is a combination of the balance at the start of the day and the aggregate actual buys and sells completed since the opening balance. In addition, the balances of planned transactions (effectively the unmatched Order_ records) are also recorded here for the purposes of monitoring and risk management.

HoldingReservation →

Used to reserve discrete quantities from the AvailableBalance for a Holding record. The key for this table is Holding/Type/RelatedRecord, allowing discrete quantities to be reserved for each Type for a given Holding record (each discrete quantity has a unique RelatedRecord).

RegistryAccount →

A RegistryAccount record is used to represent further information for an ExternalAccount record where the authority issuing the account is a registry.