# getEquity()

Returns the trading account primary asset balance if all the owned assets were liquidated for it.

  • Interface
class MidaTradingAccount {
    getEquity (): Promise<MidaDecimal>;
}
  • Example
const equity = await myAccount.getEquity();