Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Use of IHistory.getTicks in Live Systems http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=244 |
Page 1 of 1 |
Author: | [adamant] [ Tue 23 Dec, 2008, 16:14 ] |
Post subject: | Use of IHistory.getTicks in Live Systems |
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! |
Author: | API Support [ Tue 23 Dec, 2008, 17:18 ] |
Post subject: | Re: Use of IHistory.getTicks in Live Systems |
You can use IHistory, it's can be little slower but difference must be insignificant. |
Page 1 of 1 |