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.

Use of IHistory.getTicks in Live Systems
 Post subject: Use of IHistory.getTicks in Live Systems Post rating: 0   New post Posted: Tue 23 Dec, 2008, 16:14 

User rating: 0
Joined: Mon 15 Dec, 2008, 16:59
Posts: 11
Hello,

At the moment I am storing each tick in an arraylist in the OnTick method as they come in so that I can lookback at recent data.

Would you recommend that I use IHistory.getTicks on every OnTick call instead, even when looking back only a few minutes in a live system? Can I rely on IHistory cacheing at least the last few hours worth of data in memory to keep the system fast?

Thanks!


 
 Post subject: Re: Use of IHistory.getTicks in Live Systems Post rating: 0   New post Posted: Tue 23 Dec, 2008, 17:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You can use IHistory, it's can be little slower but difference must be insignificant.


 

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