Exemple #1
0
        private void Handle(MarketCandlestickPullResponse msg)
        {
            if (msg.Data is null)
            {
                return;
            }

            foreach (var item in msg.Data)
            {
                _logger.LogInformation(
                    $"Market candlestick pull {msg.ParseSymbolFromTopic()} | [amount={item.Amount}] [open={item.Open}] [close={item.Close}] [low={item.Low}] [high={item.High}] [vol={item.Vol}] [count={item.Count}]");
            }
        }