GetAccountEquity

Description

The GetAccountEquity method retrieves the current equity of the trading account. Equity represents the current value of the account, which includes the balance plus any floating profits or losses from open positions.

Syntax

public GetAccountEquity(): number

Return Value

Returns a number representing the current account equity.

Example

const equity = this.api.GetAccountEquity()
console.log(`Current account equity: ${equity}`)

Last updated