|
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 |
[adamant]
|
Post subject: Use of IHistory.getTicks in Live Systems |
Post rating: 0
|
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!
|
|
|
|
|
API Support
|
Post subject: Re: Use of IHistory.getTicks in Live Systems |
Post rating: 0
|
Posted: Tue 23 Dec, 2008, 17:18
|
|
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.
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|