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(java.lang.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 |
---|---|
java.math.BigDecimal |
ICurrencyConverter.convert(java.math.BigDecimal amount,
ICurrency sourceCurrency,
ICurrency targetCurrency,
OfferSide side,
int scale)
Converts given amount from one currency to another.
|
java.math.BigDecimal |
ICurrencyConverter.convert(java.math.BigDecimal amount,
ICurrency sourceCurrency,
ICurrency targetCurrency,
OfferSide side,
int scale,
boolean blocking)
Converts given amount from one currency to another.
|
java.math.BigDecimal |
ICurrencyConverter.convert(java.math.BigDecimal amount,
ICurrency sourceCurrency,
ICurrency targetCurrency,
OfferSide side,
int scale,
long time)
Converts given amount from one currency to another using price at specified time.
|
double |
ICurrencyConverter.convert(double amount,
ICurrency sourceCurrency,
ICurrency targetCurrency,
OfferSide side,
int scale)
Converts given amount from one currency to another.
|
double |
ICurrencyConverter.convert(double amount,
ICurrency sourceCurrency,
ICurrency targetCurrency,
OfferSide side,
int scale,
boolean blocking)
Converts given amount from one currency to another.
|
double |
ICurrencyConverter.convert(double amount,
ICurrency sourceCurrency,
ICurrency targetCurrency,
OfferSide side,
int scale,
long time)
Converts given amount from one currency to another using price at specified time.
|
java.math.BigDecimal |
ICurrencyConverter.convertCommission(java.math.BigDecimal commission,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale)
Converts commission from one currency to another.
|
java.math.BigDecimal |
ICurrencyConverter.convertCommission(java.math.BigDecimal commission,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
boolean blocking)
Converts commission from one currency to another.
|
java.math.BigDecimal |
ICurrencyConverter.convertCommission(java.math.BigDecimal commission,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
long time)
Converts commission from one currency to another using price at specified time.
|
double |
ICurrencyConverter.convertCommission(double commission,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale)
Converts commission from one currency to another.
|
double |
ICurrencyConverter.convertCommission(double commission,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
boolean blocking)
Converts commission from one currency to another.
|
double |
ICurrencyConverter.convertCommission(double commission,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
long time)
Converts commission from one currency to another using price at specified time.
|
double |
JFUtils.convertPipToCurrency(IFinancialInstrument financialInstrument,
ICurrency currency)
Deprecated.
|
double |
JFUtils.convertPipToCurrency(IFinancialInstrument financialInstrument,
ICurrency currency,
OfferSide offerSide)
Deprecated.
|
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
|
java.math.BigDecimal |
JFUtils.convertProfitLoss(java.math.BigDecimal profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale)
Converts profit/loss value from one currency to another.
|
java.math.BigDecimal |
ICurrencyConverter.convertProfitLoss(java.math.BigDecimal profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale)
Converts P/L from one currency to another.
|
java.math.BigDecimal |
ICurrencyConverter.convertProfitLoss(java.math.BigDecimal profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
boolean blocking)
Converts P/L from one currency to another.
|
java.math.BigDecimal |
ICurrencyConverter.convertProfitLoss(java.math.BigDecimal profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
long time)
Converts P/L from one currency to another using price at specified time.
|
double |
JFUtils.convertProfitLoss(double profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale)
Converts profit/loss value from one currency to another.
|
double |
ICurrencyConverter.convertProfitLoss(double profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale)
Converts P/L from one currency to another.
|
double |
ICurrencyConverter.convertProfitLoss(double profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
boolean blocking)
Converts P/L from one currency to another.
|
double |
ICurrencyConverter.convertProfitLoss(double profitLoss,
ICurrency sourceCurrency,
ICurrency targetCurrency,
int scale,
long time)
Converts P/L from one currency to another using price at specified time.
|
IFXSentimentIndex |
IDataService.getFXSentimentIndex(ICurrency currency)
Deprecated.
Returns null
|
IFXSentimentIndex |
IDataService.getFXSentimentIndex(ICurrency currency,
long time)
Deprecated.
Returns null
|
java.util.List<IFXSentimentIndexBar> |
IDataService.getFXSentimentIndex(ICurrency currency,
Period period,
long from,
long to)
Deprecated.
Returns null
|
double |
JFUtils.getRate(ICurrency from,
ICurrency to)
Gets exchange rate between two currencies.
|
double |
JFUtils.getRate(ICurrency from,
ICurrency to,
OfferSide offerSide)
Gets exchange rate between two currencies.
|
void |
Money.setJFCurrency(ICurrency currency) |
Constructor and Description |
---|
Money(double amount,
ICurrency currency) |
Modifier and Type | Method and Description |
---|---|
ICurrency |
IFinancialInstrument.getPrimaryJFCurrency()
Returns primary currency of the instrument
|
ICurrency |
IFinancialInstrument.getSecondaryJFCurrency()
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 © 2024. All rights reserved.