Example #1
0
 void IEWrapper.HistoricalData(int requestId, Bar bar)
 {
     HistoricalData?.Invoke(new HistoricalDataMessage(requestId, bar));
 }
Example #2
0
 void EWrapper.historicalData(int reqId, string date, double open, double high, double low, double close, int volume, int count, double WAP, bool hasGaps)
 {
     HistoricalData?.Invoke(reqId, date, open, high, low, close, volume, count, WAP, hasGaps);
 }
Example #3
0
 /// <summary>
 /// HistoricalData event invocator
 /// </summary>
 protected virtual void OnHistoricalData(HistoricalDataEventArgs e)
 {
     HistoricalData?.Invoke(this, e);
 }
 public virtual void historicalData(int reqId, string date, double open, double high, double low, double close, int volume, int count, double WAP, bool hasGaps)
 {
     HistoricalData?.Invoke(this, new HistoricalDataArgs(reqId, date, open, high, low, close, volume, count, WAP, hasGaps));
 }
Example #5
0
 void EWrapper.historicalData(int reqId, Bar bar)
 {
     HistoricalData?.Invoke(new HistoricalDataMessage(reqId, bar));
 }
 internal void OnHistoricalData(HistoryDataResponse message) =>
     HistoricalData?.Invoke(this, new EventArgs<HistoryDataResponse>(message));
Example #7
0
 public void historicalData(int reqId, Bar bar)
 {
     HistoricalData?.Invoke(new HistoricalDataMessage(reqId, bar));
 }