public class MetatraderAccountInformation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetatraderAccountInformation.MarginMode
Margin calculation mode enum
|
| Modifier and Type | Field and Description |
|---|---|
double |
balance
Account balance
|
String |
broker
Broker name
|
float |
credit
Account credit in the deposit currency
|
String |
currency
Account base currency ISO code
|
double |
equity
Account liquidation value
|
double |
freeMargin
Free margin
|
Boolean |
investorMode
Flag indicating that investor password was used (supported for g2 only), or
null |
double |
leverage
Account leverage coefficient
|
int |
login
Account login
|
double |
margin
Used margin
|
Double |
marginLevel
Margin level calculated as % of equity/margin or
null |
MetatraderAccountInformation.MarginMode |
marginMode
Margin calculation mode
|
String |
name
Account owner name
|
String |
platform
Platform id, either mt4 or mt5
|
String |
server
Broker server name
|
boolean |
tradeAllowed
Flag indicating that trading is allowed
|
| Constructor and Description |
|---|
MetatraderAccountInformation() |
public String platform
public String broker
public String currency
public String server
public double balance
public double equity
public double margin
public double freeMargin
public double leverage
public Double marginLevel
nullpublic boolean tradeAllowed
public Boolean investorMode
nullpublic MetatraderAccountInformation.MarginMode marginMode
public String name
public int login
public float credit
Copyright © 2022. All rights reserved.