public TradingEvent(DateTimeOffset time, TradingEventType type, IOrder order, string description) { Time = time; Type = type; Order = order; Description = description; }
public void RaisePositionChanged(TradingEventType eventType, TradingPosition position) { PositionChanged?.Invoke(this, new PositionChangedEventArgs(eventType, position)); }
public PositionChangedEventArgs(TradingEventType eventType, TradingPosition position) { EventType = eventType; Position = position; }