Example #1
0
 /// <summary>
 /// To call the event <see cref="MarketTimeChanged"/>.
 /// </summary>
 /// <param name="diff">The difference in the time since the last call of the event. The first time the event passes the <see cref="TimeSpan.Zero"/> value.</param>
 private void RaiseMarketTimeChanged(TimeSpan diff)
 {
     MarketTimeChanged?.Invoke(diff);
 }
Example #2
0
 private void RealTraderOnMarketTimeChanged(TimeSpan diff)
 {
     MarketTimeChanged?.Invoke(this, EventArgs.Empty);
 }