Author |
Topic: RequestTickBars interval (ambiguous) (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
ESwanson Posts: 6 Joined: Jul 18, 2008 |
What is the proper way to use the interval argument in the RequestTickBars function?
I was assuming you would use it like a Time span (measured in amount of ticks), much like the SubscribeBars interval argument. For an example: what is the correct way to get a history of bars, with an interval of 4 hours (240 minutes), from 2/1/08 to 4/1/08? |
||||
ESwanson Posts: 6 Joined: Jul 18, 2008 |
any updates to this?
|
||||
VictorV Posts: 746 Joined: May 08, 2007 |
The last parameter of RequestTickBars is a size of bars in ticks.
To request 240-min bars you need RequestBars method that uses the same TimeSpan parameter as SubscribeBars. |
||||