Help Center

Our products knowledge base for customers

Accounting by account type

Accounting by account type

This article describes how the platform records movements of funds and securities between accounts of different types: which transactions are created for deposits, withdrawals and trades, and how account balances change. The account type is set in the account settings.

Double entry

Every transaction in the platform is posted between two accounts - a debit account and a credit account. The transaction amount is always positive; whether the balance of each account increases or decreases depends on its type (see the table below).

Related transactions, such as a commission on a withdrawal, are posted separately and refer to the main transaction through Parent ID. The exception to the two-account rule is the Block and Cancel block transactions: the same client account is specified as both the debit and the credit account.

Account types

Account typePurposeDebitCredit
RealReflects the broker's account with a liquidity provider or a bank: the place where funds and securities are actually held.increases the balancedecreases the balance
PersonalA client account or an internal account of the broker. Trading is possible on it, and funds are deposited to it.decreases the balanceincreases the balance
NominalA technical account of the broker with the Current management type. Settlements for client trades are posted through it, and commissions and other income and expenses of the broker on operations are recorded on it. Trading on it is not possible.decreases the balanceincreases the balance
Non accountableAn account on which trades are executed but no transactions are created. Used, for example, as the counterparty account in settlements through the Backoffice.--

This is why on a deposit the balance increases on both accounts: on the real account by the debit, on the personal account by the credit. On a withdrawal both balances decrease.

Accounts whose client and provider are the broker's own profile have the Internal Account relation. These are the broker's nominal accounts and its personal accounts (usually with the Brokerage management type) that hold the broker's own funds.

Cash in and cash out

Cash in and cash out are posted directly between the client's personal account and the real account specified in the Correspondent account field. The operation's commissions are posted as separate transactions with the Commission subtype through the nominal account specified in the Commission account field. If the field is empty, the nominal account from the client account's netting settings is used: from Transaction type accounts or the Nominal account field. If no account is set there either, the broker's first created nominal account is used.

TransactionDebitCreditResult
Cash inreal accountclient's personal accountboth balances increase
Cash outclient's personal accountreal accountboth balances decrease
Cash in / Cash out with the Commission subtype - Personal commission (commission charged to the client account)client's personal accountnominal accountthe client's balance decreases, the nominal account balance increases
Cash in / Cash out with the Commission subtype - Real commissionnominal accountreal accountboth balances decrease
Example:
A client deposits 10 000 USD, Personal commission is 20 USD, Real commission is 5 USD.
Client balance: +10 000 - 20 = 9 980 USD.
Real account balance: +10 000 - 5 = 9 995 USD.
Nominal account balance: +20 - 5 = 15 USD - the broker's income from the operation.

The operation fields are described in the account transactions article.

Trade settled through a nominal account

When a client's order is executed with a provider, the platform creates two trades: the client trade on the client's personal account, and a trade on the broker's provider (real) account.

No transactions are created at the moment of the trade. The trades create nettings, which become transactions when they are processed - not earlier than the value date, at the end of day or manually. Transactions are created before the value date only if Auto netting is enabled for the instrument category in the account's netting settings.

Each trade transaction is posted between the nominal account and one of the trade's accounts - the client account or the real account. There are no transactions directly between the client and real accounts:

  • for securities and cash - Settlement transactions;
  • for trade commissions - Daily P/L transactions with the Commission subtype: on the client account - the broker's commission, on the real account - the provider's execution commission;
  • for the provider's fees for specific operations (exchange, clearing, regulatory, etc.) from the External commission block of the tariff - External fee transactions. Fees of the provider account can be passed on to the client.

The provider's execution commission comes with the provider's execution or is calculated by the provider account's tariff if the STP override commission setting is enabled on the account. Fees of the provider account are passed on to the client if Provider is selected for Commission source in the External commission tab of the commission conditions of the client's tariff.

Securities are recorded on accounts with the same kind of transactions as cash.

Please note! If Delayed settlements is enabled in the netting settings, Asset transfer transactions are created for the securities and cash of the trade instead of Settlement. The end of day does not process them - they are processed manually in the Daily operations section.
Example:
A client buys 10 shares at 238 USD. The broker's commission charged to the client is 10 USD, the provider's commission for the trade is 3 USD.
TransactionDebitCreditAmount
Settlement for securities on the client accountnominal accountclient's personal account10 shares
Settlement for securities on the real accountreal accountnominal account10 shares
Settlement for cash on the client accountclient's personal accountnominal account2 380 USD
Settlement for cash on the real accountnominal accountreal account2 380 USD
Daily P/L - client Commissionclient's personal accountnominal account10 USD
Daily P/L - provider Commissionnominal accountreal account3 USD

As a result, the client's balance changes by +10 shares and -2 390 USD, the real account balance by +10 shares and -2 383 USD. The securities and the principal amount of the trade offset each other on the nominal account, and 10 - 3 = 7 USD remains on it - the broker's income from the trade.

Trade settled through the Backoffice

Trades that the broker settles directly with a counterparty go through the Backoffice section. The trade on the provider side is created on the counterparty's non accountable account, and the final settlement takes place between the client's personal account and the custodian's real account specified when the trade is accepted.

The principal amount of the trade is posted directly, without the nominal account, with Asset transfer transactions. External fees added to the settlement are posted the same way - between the client account and the real account. Only the broker's commission goes through the nominal account.

Important! For settlements through the Backoffice, Delayed settlements must be enabled in the netting settings of the client account and the custodian's real account.

For the same trade (10 shares at 238 USD, broker's commission 10 USD):

TransactionDebitCreditAmount
Asset transfer for securitiescustodian's real accountclient's personal account10 shares
Asset transfer for cashclient's personal accountcustodian's real account2 380 USD
Daily P/L - client Commissionclient's personal accountnominal account10 USD

As a result, the client's balance changes by +10 shares and -2 390 USD, the custodian's real account balance by +10 shares and -2 380 USD, and the nominal account balance by +10 USD - the broker's income from the trade.

Asset transfer transactions are created when the settlement is moved to its final statuses. The broker's commission is not part of the settlement: it is processed as a regular netting - at the end of day, or immediately if Auto netting is enabled. The order of statuses is described in the Backoffice article.

Broker's income on the nominal account

The nominal account accumulates the difference between the commissions received from clients and the commissions paid to providers and banks. Funds cannot be withdrawn from a nominal account directly: they are first transferred to the broker's internal personal account with an End of day transaction. The steps are described in the How to withdraw funds from a nominal account? guide.

The ratio of client funds, nominal accounts and the broker's own funds on the real account is shown in the Real Report.

The distribution of client and internal account balances across several real accounts is maintained in the Shadow ledger section - it does not create transactions and does not affect balances.

Didn't find what you were looking for? Contact to support@unity.finance. We will be happy to help 24/7