# 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();
Returns the trading account primary asset balance if all the owned assets were liquidated for it.
class MidaTradingAccount {
getEquity (): Promise<MidaDecimal>;
}
const equity = await myAccount.getEquity();