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.

IHistory.readTicks() != IHistory.readTicks() with identical arguments
 Post subject: IHistory.readTicks() != IHistory.readTicks() with identical arguments Post rating: 0   New post Posted: Wed 18 Jan, 2017, 20:22 
User avatar

User rating: 0
Joined: Tue 17 Jan, 2017, 18:05
Posts: 7
Location: United Kingdom,
Hello,
IHistory.readTicks() != IHistory.readTicks() with identical arguments

currentTime: 2017-01-15 22:00:09.672
IHistory.readTicks(Instrument instrument, long from, long to, LoadingDataListener tickListener, LoadingProgressListener loadingProgress)
instrument: EUR/USD from: 2017-01-13 21:59:56.412 to: 2017-01-15 22:00:09.672

2017-01-13 21:59:56.412,1.0642,1.06481
2017-01-15 22:00:02.827,1.06039,1.06104
2017-01-15 22:00:03.703,1.06038,1.06093
2017-01-15 22:00:03.804,1.06041,1.06093
2017-01-15 22:00:03.972,1.06038,1.06093
2017-01-15 22:00:04.626,1.06043,1.06093
2017-01-15 22:00:04.777,1.06038,1.06093
2017-01-15 22:00:05.304,1.06042,1.06093
2017-01-15 22:00:05.575,1.06038,1.06093
2017-01-15 22:00:05.575,1.06038,1.06093
2017-01-15 22:00:08.425,1.06039,1.06093
2017-01-15 22:00:09.672,1.06038,1.06093

currentTime: 2017-01-16 16:53:13.278
IHistory.readTicks(Instrument instrument, long from, long to, LoadingDataListener tickListener, LoadingProgressListener loadingProgress)
instrument: EUR/USD from: 2017-01-13 21:59:56.412 to: 2017-01-15 22:00:09.672

2017-01-13 21:59:56.412,1.0642,1.06481

readTicks executed at 2017-01-15 22:00:09.672 returns 12 ticks but
readTicks executed at 2017-01-16 16:53:13.278 returns only 1 tick

also readTicks executed at 2017-01-15 22:00:09.672 returns 1 ticks duplicated:
2017-01-15 22:00:05.575,1.06038,1.06093
2017-01-15 22:00:05.575,1.06038,1.06093


 
 Post subject: Re: IHistory.readTicks() != IHistory.readTicks() with identical arguments Post rating: 0   New post Posted: Mon 23 Jan, 2017, 18:08 
User avatar

User rating: 0
Joined: Tue 17 Jan, 2017, 18:05
Posts: 7
Location: United Kingdom,
I have latest JForex-API-2.12.46


 
 Post subject: Re: IHistory.readTicks() != IHistory.readTicks() with identical arguments Post rating: 0   New post Posted: Mon 20 Feb, 2017, 15:27 
User avatar

User rating: 0
Joined: Tue 17 Jan, 2017, 18:05
Posts: 7
Location: United Kingdom,
Hello,

EUR/USD
currentTime: 2017-02-19 22:00:19.696 getTicks from: 2017-02-17 21:59:55.291 to: 2017-02-19 22:00:19.696
2017-02-17 21:59:55.291,1.06114,1.06151
2017-02-19 22:00:07.423,1.06075,1.06094
2017-02-19 22:00:08.038,1.06075,1.06092
2017-02-19 22:00:08.038,1.06075,1.06092
2017-02-19 22:00:19.696,1.0608,1.06097

currentTime: 2017-02-20 14:16:59.925 getTicks from: 2017-02-17 21:59:55.291 to: 2017-02-19 22:00:19.696
2017-02-17 21:59:55.291,1.06114,1.06151
2017-02-19 22:00:07.423,1.06075,1.06094
2017-02-19 22:00:08.038,1.06075,1.06092
2017-02-19 22:00:19.696,1.0608,1.06097

so one tick was duplicated:
2017-02-19 22:00:08.038,1.06075,1.06092
2017-02-19 22:00:08.038,1.06075,1.06092

JForex-API-2.12.46


 

Jump to:  

  © 1998-2024 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