GetLeverageRatio

Description

The GetLeverageRatio method retrieves the leverage ratio set for the trading account. Leverage ratio represents the multiplier that determines how much larger positions you can open relative to your account equity (e.g., 1:100 means you can open positions up to 100 times larger than your equity).

Syntax

public GetLeverageRatio(): number

Return Value

Returns a number representing the account's leverage ratio (e.g., 100 for 1:100 leverage).

Example

const leverage = this.api.GetLeverageRatio()
console.log(`Account leverage ratio: 1:${leverage}`)

Last updated