Package | Description |
---|---|
com.dukascopy.api | |
com.dukascopy.api.instrument | |
com.dukascopy.api.system |
Modifier and Type | Class and Description |
---|---|
class |
JFCurrency |
Modifier and Type | Method and Description |
---|---|
ICurrency |
IClientInfo.getAccountCurrency()
Returns account currency
|
ICurrency |
IAccount.getAccountCurrency()
Returns account currency
|
static ICurrency |
JFCurrency.getInstance(String currencyCode) |
ICurrency |
Money.getJFCurrency() |
ICurrency |
Instrument.getPrimaryJFCurrency()
Returns primary currency of the instrument
|
ICurrency |
Instrument.getSecondaryJFCurrency()
Returns secondary currency of the instrument
|
Modifier and Type | Method and Description |
---|---|
double |
JFUtils.convertPipToCurrency(Instrument instrument,
ICurrency currency)
Converts the cost of one pip for particular instrument to specified currency.
|
double |
JFUtils.convertPipToCurrency(Instrument instrument,
ICurrency currency,
OfferSide offerSide)
Converts the cost of one pip for particular instrument to specified currency
|
IFXSentimentIndex |
IDataService.getFXSentimentIndex(ICurrency currency)
Returns last updated Forex Sentiment Index for specified
ICurrency .Equivalent to the getFXSentimentIndex(ICurrency, System.currentTimeMillis) for live data and getFXSentimentIndex(ICurrency, pseudo_current_historical_tester_time) for historical data. |
IFXSentimentIndex |
IDataService.getFXSentimentIndex(ICurrency currency,
long time)
Returns Forex Sentiment Index which was most up-to-date at a point of specified
time |
List<IFXSentimentIndexBar> |
IDataService.getFXSentimentIndex(ICurrency currency,
Period period,
long from,
long to)
Returns the list of sentiment indices which were most up-to-date at the specified time frame.
|
void |
Money.setJFCurrency(ICurrency currency) |
Constructor and Description |
---|
Money(double amount,
ICurrency currency) |
Modifier and Type | Method and Description |
---|---|
ICurrency |
IInstrumentCommission.getCommissionCurrency() |
ICurrency |
IFinancialInstrument.getMarginCurrency() |
ICurrency |
IFinancialInstrument.getPrimaryCurrency()
Returns primary currency of the instrument
|
ICurrency |
IFinancialInstrument.getSecondaryCurrency()
Returns secondary currency of the instrument
|
Modifier and Type | Method and Description |
---|---|
ICurrency |
ITesterClient.getInitialDepositJFCurrency()
Return deposit currency
|
Modifier and Type | Method and Description |
---|---|
void |
ITesterClient.setInitialDeposit(ICurrency currency,
double deposit)
Sets initial deposit amount and currency.
|
Copyright © 2016. All rights reserved.