Example #1
0
 public OHLCFull(decimal open, decimal high, decimal low, decimal close, int volume = 0, double weightedAveragePrice = 0, int tradeCount = 0, int openInterest = 0, int precision = 6)
 {
     _ohlcVol      = new OHLCVol(open, high, low, close, volume, precision);
     _vWap         = weightedAveragePrice;
     _tradeCount   = tradeCount;
     _openInterest = openInterest;
 }
Example #2
0
 public OHLCFull(Price open, Price high, Price low, Price close, int volume = 0, double weightedAveragePrice = 0, int tradeCount = 0, int openInterest = 0)
 {
     _ohlcVol      = new OHLCVol(open, high, low, close, volume);
     _vWap         = weightedAveragePrice;
     _tradeCount   = tradeCount;
     _openInterest = openInterest;
 }