public interface IClientInfo
Modifier and Type | Method and Description |
---|---|
ICurrency |
getAccountCurrency()
Returns account currency.
|
double |
getBalance()
Returns client's investment balance in the trader base currency.
The last client investment balance available is the balance for the previous end-of-day processing. |
double |
getBalanceInAccountCurrency()
Returns client's investment balance in the client account currency.
The last client investment balance available is the balance for the previous end-of-day processing. |
double |
getBaseEquity()
Returns current client's base investment equity (No open Profit/Loss) in the trader base currency.
Value returned by this function is for information purposes and can be incorrect right after order changes, as it is updated about every 5 seconds. |
double |
getBaseEquityInAccountCurrency()
Returns current client's base investment equity (No open Profit/Loss) in the client account currency.
Value returned by this function is for information purposes and can be incorrect right after order changes, as it is updated about every 5 seconds. |
java.lang.String |
getClientId()
Returns client id.
|
IAccount.AccountState |
getClientState()
Returns client state.
|
java.util.Currency |
getCurrency()
Deprecated.
Use
getAccountCurrency() instead |
double |
getEquity()
Returns current client's investment equity in the trader base currency.
Value returned by this function is for information purposes and can be incorrect right after order changes, as it is updated about every 5 seconds |
double |
getEquityInAccountCurrency()
Returns current client's investment equity in the client account currency.
Value returned by this function is for information purposes and can be incorrect right after order changes, as it is updated about every 5 seconds |
double |
getRatio()
Returns the client's market share - a double value with a positive sign, greater than or equal to 0.0 and less than or equal to 1.0.
|
double |
getStopLossLevel()
Returns client's equity stop loss level in the trader base currency.
The equity stop loss level define an absolute level of equity from or under which the client will be stopped and their exposures closed. |
double |
getStopLossLevelInAccountCurrency()
Returns client's equity stop loss level in the client account currency.
The equity stop loss level define an absolute level of equity from or under which the client will be stopped and their exposures closed. |
java.lang.String getClientId()
IAccount.AccountState getClientState()
state
@Deprecated java.util.Currency getCurrency()
getAccountCurrency()
insteadICurrency getAccountCurrency()
double getStopLossLevel()
double getStopLossLevelInAccountCurrency()
double getEquity()
double getEquityInAccountCurrency()
double getBaseEquity()
double getBaseEquityInAccountCurrency()
double getBalance()
double getBalanceInAccountCurrency()
double getRatio()
x
satisfying to 0.0 <= x <= 1.0
(multiplied by 100 shows the active client ratio in percentages)Copyright © 2024. All rights reserved.