/// <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; }
/// <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; }
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; }
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; }
/// <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; }