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.

Requested Time Interval is not valid - with P&F - interpolation all ticks
 Post subject: Requested Time Interval is not valid - with P&F - interpolation all ticks Post rating: 0   New post Posted: Sun 18 Oct, 2015, 20:32 
User avatar

User rating: 0
Joined: Sun 18 Oct, 2015, 19:23
Posts: 2
Jforex API 2.2.15

happens with P&F feeds (interpolation ALL_TICKS) - Instruments and feeds are subscribed

occurs ~9 times out of 10 - if I insist repeating many times, once it would go thru and download the data.
(When it download the data, logs show a different error related to the cache, but the data is indeed downloaded)

151018 21:26:25 887 [ERROR] HistDownloader 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
at com.dukascopy.api.impl.util.HistoryUtils.validateTimeInterval(HistoryUtils.java:169)
at com.dukascopy.api.impl.History.getPointAndFigures(History.java:1039)
at com.dukascopy.api.impl.History.getFeedData(History.java:3129)
at trainer.HistDownloader.downloadBlock(HistDownloader.java:73)
at trainer.HistDownloader.download(HistDownloader.java:137)
at trainer.HistDownloader.download(HistDownloader.java:93)
at executors.Download_cmd.downloaddata(Download_cmd.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)


 
 Post subject: Re: Requested Time Interval is not valid - with P&F - interpolation all ticks Post rating: 0   New post Posted: Thu 22 Oct, 2015, 07:45 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please use latest api version and provide code that would reproduce this.


 

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