Dukascopy
 
 
Wiki JStore Search Login

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

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

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

Build 2.6.46 / Date 2011-10-18
 Post subject: Build 2.6.46 / Date 2011-10-18 Post rating: 0   New post Posted: Tue 25 Oct, 2011, 18:49 
User avatar

User rating: 5
Joined: Fri 02 Sep, 2011, 10:08
Posts: 157
Location: FranceFrance
Hello,

1 - I could not find getPipCostInAccountCurrency(), netbeans doesn't even recognize it.
Moreover I couldn't find it in the last javadoc.


2 - I'm using JForex ide to compile my programs, it seems it doesn't know getLastActiveChart() to.
I checked for updates, it says JForex is up to date.

Did I miss something ?
Thanks for the help.


 
 Post subject: Re: Build 2.6.46 / Date 2011-10-18 Post rating: 0   New post Posted: Wed 26 Oct, 2011, 09:58 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
nicofr0707 wrote:
1 - I could not find getPipCostInAccountCurrency(), netbeans doesn't even recognize it.
Moreover I couldn't find it in the last javadoc.
See: https://www.dukascopy.com/client/javadoc//com/dukascopy/api/JFUtils.html#convertPipToCurrency(com.dukascopy.api.Instrument,%20java.util.Currency)
nicofr0707 wrote:
2 - I'm using JForex ide to compile my programs, it seems it doesn't know getLastActiveChart() to.
See:
https://www.dukascopy.com/client/javadoc//com/dukascopy/api/IContext.html#getLastActiveChart()
Note that the function is designed to work with JForex client, so in Standalone API the returned value will be null.


 
 Post subject: Re: Build 2.6.46 / Date 2011-10-18 Post rating: 0   New post Posted: Thu 27 Oct, 2011, 11:34 
User avatar

User rating: 5
Joined: Fri 02 Sep, 2011, 10:08
Posts: 157
Location: FranceFrance
Thank you support,

But I didn't manage to compile and use these methods.


09:57:35 JFUtils cannot be resolved to a type
09:57:35 ^^^^^^^^^^^
09:57:35 myPanel.lotLabel.setText("Pip value (" + pipValue + ") test " + JForexUtils.convertPipToCurrency(instrument, USD) + " :");
09:57:35 2. ERROR in C:\Users\Nicolas\AppData\Local\Temp\jfxide\tmp\RiskManager20110922.java (at line 2077)
09:57:35 ----------
09:57:35 JFUtils cannot be resolved to a type
09:57:35 ^^^^^^^
09:57:35 private JFUtils JForexUtils;
09:57:35 1. ERROR in C:\Users\Nicolas\AppData\Local\Temp\jfxide\tmp\RiskManager20110922.java (at line 56)

"About" in JForex ide for live account says :
Dukascopy ver. 2.12.21
JForex API ver. 2.6.33

How can I use the last API version in the JForex client ?

Thanks


 
 Post subject: Re: Build 2.6.46 / Date 2011-10-18 Post rating: 0   New post Posted: Thu 27 Oct, 2011, 12:08 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
nicofr0707 wrote:
How can I use the last API version in the JForex client ?
When a new version of JForex client will be released, follow the release information here: viewforum.php?f=71


 

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