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.

JForex 2.45.33 getSelectedPeriod() does not work anymore
 Post subject: JForex 2.45.33 getSelectedPeriod() does not work anymore Post rating: 0   New post Posted: Tue 12 Jan, 2016, 15:42 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IChart.html#getSelectedPeriod()
does not work anymore
Test: Just open an EUR/USD chart, e.g 1 hour
and start the attached strategy

it returns "period = 7 Days" in JForex 2.45.33
it returns "period = Hourly" in JForex 2.45.28

Please fix this bug!

Same happens if I try to retrieve the period via the IChart.getFeedDescriptor().getPeriod() functions.


Attachments:
GetPeriodBug.jfx [3.07 KiB]
Downloaded 119 times
GetPeriodBug.java [2.14 KiB]
Downloaded 123 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: JForex 2.45.33 getSelectedPeriod() does not work anymore Post rating: 0   New post Posted: Wed 13 Jan, 2016, 11:16 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
IChart.getSelectedPeriod() and IChart.getFeedDescriptor().getPeriod() are working fine for us.


 
 Post subject: Re: JForex 2.45.33 getSelectedPeriod() does not work anymore Post rating: 0   New post Posted: Wed 13 Jan, 2016, 13:54 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
I checked it again, it is working now.
My mistake, sorry.


 

Jump to:  

cron
  © 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