I need a Bars class (C#), and am trying to determine what type to use.
I need something that will construct as time bar, range bar, renko bar, etc ... as the case may be.
To get the ball rolling (or perhaps "to get the bar going ..."), what do you think of ...
Dictionary <DateTime, Ohlc>
... where the DateTime index would be the bar's start or end time, and
... where Ohlc would be another class with properties Open, High, Low, and Close [which - lol - will be either double, float or integer pending eventual resolution of the "Tick (Last Traded Price) ... float or double?" thread ...]
Thanks for your help in "raising the bar" ... all contributions welcome.
I need something that will construct as time bar, range bar, renko bar, etc ... as the case may be.
To get the ball rolling (or perhaps "to get the bar going ..."), what do you think of ...
Dictionary <DateTime, Ohlc>
... where the DateTime index would be the bar's start or end time, and
... where Ohlc would be another class with properties Open, High, Low, and Close [which - lol - will be either double, float or integer pending eventual resolution of the "Tick (Last Traded Price) ... float or double?" thread ...]
Thanks for your help in "raising the bar" ... all contributions welcome.