- ago
I want to download historical data in 1 or 5-second intervals, but I can't use GetHistoryUnsynched since HistoryScale doesn't enumerate seconds.
Instead, I tried to use
CODE:
new BarHistory(bars.Symbol, Frequency.Second);

but I couldn't find the method to actually get the data.

Your help is appreciated.
0
361
Solved
3 Replies

Reply

Bookmark

Sort
Glitch8
 ( 10.41% )
- ago
#1
CODE:
new BarHistory(bars.Symbol, new HistoryScale(Frequency.Second, 1))
0
Best Answer
- ago
#2
Thank you
0
- ago
#3
CODE:
BarHistory secondsBar = GetHistoryUnsynched(bars.Symbol, new HistoryScale(Frequency.Second, 1));
0

Reply

Bookmark

Sort