internal ElementBarTickData(BarTickDataType arg) { this._time = new ElementIntradayBarDateTime(arg.DtTime); this._open = new ElementIntradayBarDouble("open", arg.Open); this._high = new ElementIntradayBarDouble("high", arg.High); this._low = new ElementIntradayBarDouble("low", arg.Low); this._close = new ElementIntradayBarDouble("close", arg.Close); this._volume = new ElementIntradayBarLong("volume", arg.Volume); this._numEvents = new ElementIntradayBarInt("numEvents", arg.NumEvents); this._value = new ElementIntradayBarDouble("value", arg.Value); }
internal ElementBarTickData(BarTickDataType arg) { this._time = new ElementIntradayBarDateTime(arg.DtTime); this._open = new ElementIntradayBarDouble("open", arg.Open); this._high = new ElementIntradayBarDouble("high", arg.High); this._low = new ElementIntradayBarDouble("low", arg.Low); this._close = new ElementIntradayBarDouble("close", arg.Close); this._volume = new ElementIntradayBarLong("volume", arg.Volume); this._numEvents = new ElementIntradayBarInt("numEvents", arg.NumEvents); this._value = new ElementIntradayBarDouble("value", arg.Value); }