π Get Account EquityΒΆ
Helper method: retrieves current account equity (balance + floating profit/loss).
API Information:
- Sugar method:
MT5Sugar.getEquity() - Returns:
double- Account equity - Underlying:
MT5Service.getEquity()
β¬οΈ OutputΒΆ
Returns: double - Equity in account currency
Throws: ApiExceptionMT5 if request fails
π Usage ExampleΒΆ
See alsoΒΆ
- Other account info:
getBalance(),getProfit()