コード例 #1
0
        private void HandleTrade(MarketTradeDetailUpdateMessage response)
        {
            var converted = response
                            .Tick
                            .Data
                            .Select(
                trade => ConvertTrade(
                    response.ParseSymbolFromTopic(),
                    trade,
                    response.Timestamp.UtcDateTime))
                            .ToArray();

            TradesSubject.OnNext(converted);
        }
コード例 #2
0
 private void HandleTrade(TradeResponse response)
 {
     TradesSubject.OnNext(new[] { ConvertTrade(response) });
 }
コード例 #3
0
 private void HandleTrade(TradeResponse response)
 {
     TradesSubject.OnNext(ConvertTrades(response.Market, response.Data));
 }