Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Missing currencies in INewsFilter.Currency (Build 2.12.6)
 Post subject: Missing currencies in INewsFilter.Currency (Build 2.12.6) Post rating: 0   New post Posted: Sat 07 Feb, 2015, 21:06 

User rating: 0
Joined: Mon 21 Nov, 2011, 02:03
Posts: 4
Location: Germany, Stuttgart
Hi

is it possible that INewsFilter.Currency enum is missing some currencies like: CLP, KRW, MYR, PHP, THB?

I am getting these currencies as a result from INewsMessage.getCurrencies() and https://www.dukascopy.com/client/javadoc/com/dukascopy/api/INewsMessage.html#getCurrencies%28%29 is clearly saying that they should be part of INewsFilter.Currency enum.


 
 Post subject: Re: Missing currencies in INewsFilter.Currency (Build 2.12.6) Post rating: 0   New post Posted: Wed 11 Feb, 2015, 09:15 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi!

We will fix that.


 
 Post subject: Re: Missing currencies in INewsFilter.Currency (Build 2.12.6) Post rating: 0   New post Posted: Thu 05 Mar, 2015, 16:37 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We recommend to use JFCurrency.getInstance(String currencyCode) to parse INewsMessage.getCurrencies() strings. Javadoc is updated accordingly in upcoming API release.

INewsFilter.Currency could be deprecated in near future.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com