예제 #1
0
파일: Candles.cs 프로젝트: mindis/Spreads
 /// <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;
 }
예제 #2
0
파일: Candles.cs 프로젝트: mindis/Spreads
 /// <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;
 }
예제 #3
0
파일: Candles.cs 프로젝트: s952163/Spreads
 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;
 }
예제 #4
0
파일: Candles.cs 프로젝트: s952163/Spreads
 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;
 }
예제 #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;
 }