Exemple #1
0
 /// <summary>
 /// OHLCFull constructor.
 /// </summary>
 public OHLCFull(decimal open, decimal high, decimal low, decimal close, int volume = 0, decimal moneyVolume = 0M, int tradeCount = 0, int openInterest = 0, int precision = 6)
 {
     _ohlcv        = new OHLCV(open, high, low, close, volume, precision);
     _value        = moneyVolume;
     _tradeCount   = tradeCount;
     _openInterest = openInterest;
 }
Exemple #2
0
 /// <summary>
 /// OHLCFull constructor.
 /// </summary>
 public OHLCFull(Price open, Price high, Price low, Price close, int volume = 0, decimal moneyVolume = 0M, int tradeCount = 0, int openInterest = 0)
 {
     _ohlcv        = new OHLCV(open, high, low, close, volume);
     _value        = moneyVolume;
     _tradeCount   = tradeCount;
     _openInterest = openInterest;
 }
Exemple #3
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)
 {
     _ohlcv        = new OHLCV(open, high, low, close, volume, precision);
     _vWap         = weightedAveragePrice;
     _tradeCount   = tradeCount;
     _openInterest = openInterest;
 }
Exemple #4
0
 public OHLCFull(Price open, Price high, Price low, Price close, int volume = 0, double weightedAveragePrice = 0, int tradeCount = 0, int openInterest = 0)
 {
     _ohlcv        = new OHLCV(open, high, low, close, volume);
     _vWap         = weightedAveragePrice;
     _tradeCount   = tradeCount;
     _openInterest = openInterest;
 }
Exemple #5
0
 /// <summary>
 /// OHLCFull constructor.
 /// </summary>
 public OHLCFull(SmallDecimal open, SmallDecimal high, SmallDecimal low, SmallDecimal close, int volume = 0, decimal moneyVolume = 0M, int tradeCount = 0, int openInterest = 0)
 {
     _ohlcv        = new OHLCV(open, high, low, close, volume);
     _value        = moneyVolume;
     _tradeCount   = tradeCount;
     _openInterest = openInterest;
 }