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.

Missing (lots of) ticks in real-time stream
 Post subject: Missing (lots of) ticks in real-time stream Post rating: 0   New post Posted: Fri 25 Oct, 2013, 15:56 

User rating: 0
Joined: Tue 22 Oct, 2013, 14:19
Posts: 6
Hi all,

I encountered an issue which really scared me.

In order to conduct some other experiment, I wrote a simple strategy which just writes to a file all ticks (so on-tick writes values from the current tick: time, price, volumes). I have run this strategy localy for several hours.
Then I wrote another strategy that simply counts number of ticks in each minute and also reads those ticks from my file, and counts them per minute as well (matching the same minutes).

Now when I run this "reading" strategy on historical tester, I discovered that numbers of ticks in historical data (per minute) are much higher than what I "recorded" myself !!!
The differences are in almost all minutes and reach sometimes even 50% more.

I tried this on few periods (2 or 3 days long). I'm also aware of the tick execution policy (if execution time is longer that 1 second, some ticks are dropped), but I wrote my code with good buffering, so the on-tick execution is very quick.

Please someone explain this, because it is really worrying...


 
 Post subject: Re: Missing (lots of) ticks in real-time stream Post rating: 0   New post Posted: Fri 25 Oct, 2013, 15:58 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=45855


 

Jump to:  

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