예제 #1
0
 private void RealTraderOnNewMarketDepths(IEnumerable <MarketDepth> depths)
 {
     NewMarketDepths.SafeInvoke(this, new MarketDepthsEventArgs(depths));
 }
예제 #2
0
 private void NewMarketDepthsHandler(IEnumerable <MarketDepth> marketDepths)
 {
     AddGuiAction(() => NewMarketDepths.SafeInvoke(marketDepths));
 }
예제 #3
0
 private void RaiseNewMarketDepth(MarketDepth marketDepth)
 {
     NewMarketDepth?.Invoke(marketDepth);
     NewMarketDepths?.Invoke(new[] { marketDepth });
 }
예제 #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);
 }