예제 #1
0
 /// <summary>
 /// Use this for regular securities (no security error)
 /// </summary>
 /// <param name="corr"></param>
 /// <param name="bars"></param>
 /// <param name="service"></param>
 internal MessageIntradayBar(CorrelationID corr, Service service, IEnumerable<BarTickDataType> bars)
     : base(new Name("IntradayBarResponse"), corr, service)
 {
     this._parent = new ElementBarData(bars);
     this._responseError = null;
     this._isResponseError = false;
 }
예제 #2
0
 /// <summary>
 /// Use this for security errors
 /// </summary>
 /// <param name="corr"></param>
 /// <param name="service"></param>
 internal MessageIntradayBar(CorrelationID corr, Service service, string security)
     : base(new Name("IntradayBarResponse"), corr, service)
 {
     this._responseError = new ElementIntradayBarResponseError(security);
     this._parent = null;
     this._isResponseError = true;
 }