/// <summary> /// HistoricalData event invocator /// </summary> protected virtual void OnHistoricalData(HistoricalDataEventArgs e) { var handler = HistoricalData; if (handler != null) handler(this, e); }
public void EmitHistoricalDataCancelled(global::OpenQuant.API.HistoricalDataRequest request) { if (this.HistoricalDataRequestCancelled != null) { HistoricalDataEventArgs args = new HistoricalDataEventArgs(request.request.RequestId, request.request.Instrument, this, 0); this.HistoricalDataRequestCancelled(this, args); } }