private void HandleTrade(MarketTradeDetailUpdateMessage response) { var converted = response .Tick .Data .Select( trade => ConvertTrade( response.ParseSymbolFromTopic(), trade, response.Timestamp.UtcDateTime)) .ToArray(); TradesSubject.OnNext(converted); }
private void HandleTrade(TradeResponse response) { TradesSubject.OnNext(new[] { ConvertTrade(response) }); }
private void HandleTrade(TradeResponse response) { TradesSubject.OnNext(ConvertTrades(response.Market, response.Data)); }