private void OnConnectorCandleReceived(Subscription subscription, Candle candle) { if (_subscriptions.ContainsKey(subscription)) { CandleReceived?.Invoke(subscription, candle); } }
private void OnCandleReceived(Candle candle, CandleType type) { CandleReceived?.Invoke(this, new CandleReceivedArgs() { Candle = candle, Type = type }); }