Example #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 IntradayBarMessage(CorrelationID corr, Service service, IEnumerable <IntradayBarTickDataType> bars) :
     base(new Name("IntradayBarResponse"), corr, service)
 {
     this._parent          = new IntradayBarElementData(bars);
     this._responseError   = null;
     this._isResponseError = false;
 }
Example #2
0
 /// <summary>
 /// Use this for security errors
 /// </summary>
 /// <param name="corr"></param>
 /// <param name="service"></param>
 internal IntradayBarMessage(CorrelationID corr, Service service, string security) :
     base(new Name("IntradayBarResponse"), corr, service)
 {
     this._responseError   = new IntradayBarElementResponseError(security);
     this._parent          = null;
     this._isResponseError = true;
 }