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.

Dowload Point and Figure Requested Time interval is not valid
 Post subject: Dowload Point and Figure Requested Time interval is not valid Post rating: 0   New post Posted: Sun 18 Oct, 2015, 19:35 
User avatar

User rating: 0
Joined: Sun 18 Oct, 2015, 19:23
Posts: 2
Hello all

I am getting a weird error when I trying to try to download P&F via the API

I am using Interpolation method ALL TICKS in the FeedDescriptor

example: point and figure 3x3 I get this error:

com.dukascopy.api.JFException: Requested time interval for instrument [EUR/USD] period [Ticks], from [2015-10-15 00:00:00:000] to [2015-10-16 00:00:00:000] GMT is not valid

if I download the exact same interval for P&F 1x8 it goes almost fine (I get the data) but also this assertion error

151018 20:16:49 503 [ERROR] LoadDataAction
java.lang.AssertionError at com.dukascopy.charts.data.datacache.LocalCacheManager.readCandlesFromIntraPeriodFile(LocalCacheManager.java:1899)
at com.dukascopy.charts.data.datacache.LocalCacheManager.isIntraperiodCandleFileFreeFromEmptyCandlesInTheBeginning(LocalCacheManager.java:2710)
at com.dukascopy.charts.data.datacache.CurvesDataLoader.loadSmallIntervals(CurvesDataLoader.java:580)
at com.dukascopy.charts.data.datacache.CurvesDataLoader.loadInCache(CurvesDataLoader.java:202)
at com.dukascopy.charts.data.datacache.CurvesDataLoader.loadInCache(CurvesDataLoader.java:128)
at com.dukascopy.charts.data.datacache.LoadDataAction.run(LoadDataAction.java:302)
at com.dukascopy.charts.data.datacache.FeedDataProvider.loadCandlesDataSynched(FeedDataProvider.java:878)
at com.dukascopy.charts.data.datacache.IntraperiodCandlesGenerator$4.run(IntraperiodCandlesGenerator.java:1005)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

can anyone please help me out?

many thanks in advance


 
 Post subject: Re: Dowload Point and Figure Requested Time interval is not valid Post rating: 0   New post Posted: Thu 22 Oct, 2015, 13:57 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please see https://www.dukascopy.com/swiss/english ... 48&p=85927


 

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