GetAccountBalance

Description

The GetAccountBalance method retrieves the current balance of the trading account.

Syntax

public GetAccountBalance(): number

Return Value

Returns a number representing the current account balance.

Example

const balance = this.api.GetAccountBalance();
console.log(`Current account balance: ${balance}`);

Last updated