private void RealTraderOnNewMarketDepths(IEnumerable <MarketDepth> depths)
 {
     NewMarketDepths.SafeInvoke(this, new MarketDepthsEventArgs(depths));
 }
Beispiel #2
0
 private void NewMarketDepthsHandler(IEnumerable <MarketDepth> marketDepths)
 {
     AddGuiAction(() => NewMarketDepths.SafeInvoke(marketDepths));
 }
Beispiel #3
0
 private void RaiseNewMarketDepth(MarketDepth marketDepth)
 {
     NewMarketDepth?.Invoke(marketDepth);
     NewMarketDepths?.Invoke(new[] { marketDepth });
 }
Beispiel #4
0
 /// <summary>
 /// To call the event <see cref="Connector.NewMarketDepths"/>.
 /// </summary>
 /// <param name="marketDepths">Order books that should be passed to the event.</param>
 private void RaiseNewMarketDepths(IEnumerable <MarketDepth> marketDepths)
 {
     NewMarketDepths.SafeInvoke(marketDepths);
 }