|
Why I can not download the data as much as you can see in the chart? |
janjjj
|
Post subject: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Fri 19 Apr, 2013, 09:27
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
Hi support,
Why I can not download the data as much as you can see in the chart? (in ex. ZigZag indicator) ex for EURUSD on weekly chart I can see data from 1973. But from strategy I can download only from about 2007. If I want take data eariel I receive JFException: 08:21:10 Requested time interval from [2007-02-26 00:00:00:000] to [2013-04-15 00:00:00:000] GMT is not valid
More over available time interval for other instrument is smaller. ex EURCAD only from 2008/2009 (on weekly)
Pleas see attachet strategy. And you can see that for EURUSD you chan download data from aboyt 300 candles but for 350 not.
How can I download eariel data?
Attachments: |
AvailableIntervalTest01.java [2.28 KiB]
Downloaded 455 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.
|
|
|
|
|
 |
API Support
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Fri 19 Apr, 2013, 09:32
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
janjjj
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Fri 19 Apr, 2013, 09:51
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
OK, it return that first weekly candle for EURUSD is from 1972.05.22, but in my example I can not download data even from 2007! Please look at my example. How can I download data (inzigzag indocator) earlier than 2007?
|
|
|
|
 |
API Support
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Fri 19 Apr, 2013, 11:18
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Did you run the example strategy for EURUSD given in our previous post? Did it return dates earlier than 2007?
|
|
|
|
 |
janjjj
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Fri 19 Apr, 2013, 11:32
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
Yes. As I wrote it return: 1972.05.22 date. for weekly bars in EURUSD
|
|
|
|
 |
janjjj
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Mon 22 Apr, 2013, 20:56
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
So is it possible to download the earlier data (before 2007) for zigzag indicator? and how?
Please advise...
|
|
|
|
 |
API Support
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Tue 23 Apr, 2013, 07:18
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
From API there is as much available data as returned by the Historical Data Service methods referred to above.
|
|
|
|
 |
janjjj
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Tue 23 Apr, 2013, 16:26
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
That's why I get an exception: 15:19:07 Requested time interval from [2006-08-07 00:00:00:000] to [2013-04-22 00:00:00:000] GMT is not valid When I run something like this: long ZZStartTime = history.getBarStart(Period.WEEKLY, tick.getTime()-Period.WEEKLY.getInterval()*350); long ZZEndTime = history.getBarStart(Period.WEEKLY, tick.getTime()); double[] zig = indicators.zigzag(Instrument.EURUSD, Period.WEEKLY, OfferSide.BID, 12, 5, 3, Filter.WEEKENDS, ZZStartTime, ZZEndTime);
if the Historical Data Service methods referred to above return that data is available from 1972-05-22. More detail in the attached above strategy. Please explain it to me
|
|
|
|
 |
API Support
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Wed 24 Apr, 2013, 13:55
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
janjjj
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Fri 26 Apr, 2013, 08:48
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
I use IHistory.getBarStart, As you can see above. It is not problem.
As I use: IHistory.getBars also there is no problem. Here you can download the data from date which return Historical Data Service methods.
The problem is if I use IIndicators.zigzag. (not IHistory.getBars) Please look at my code above.
How can I get the data for the indicator (zigzag) earlier then 2007 for EURUSD, earlier then 08/2009 for EURCAD...?
|
|
|
|
 |
janjjj
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Tue 07 May, 2013, 16:06
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
Is there any expected date of repair this bug?
|
|
|
|
 |
API Support
|
Post subject: Re: Why I can not download the data as much as you can see in the chart? |
Post rating: 0
|
Posted: Wed 07 Aug, 2013, 09:55
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|