NotifierCore.DataProvider.ZicoreApi.ParseTrendSell C# (CSharp) Method

ParseTrendSell() public method

public ParseTrendSell ( JToken json ) : IList
json JToken
return IList
        public IList<HotItem> ParseTrendSell(JToken json)
        {
            var items = new List<HotItem>();
            foreach (var token in json)
            {
                var item = new HotItem(token["data_id"].ToObject<int>())
                    {
                        SellPriceMoveCurrent = token["sell_price"].ToObject<float>(),
                        BuyPriceMoveCurrent = token["buy_price"].ToObject<float>(),
                        SellCountMove = token["sell_count"].ToObject<double>(),
                        BuyCountMove = token["buy_count"].ToObject<double>(),

                        DateTimeTrend = token["datetime"].ToObject<DateTime>(),

                        SellPriceMove = token["sell_price_move"].ToObject<float>(),
                        BuyPriceMove = token["buy_price_move"].ToObject<float>(),
                        SellCountMovePercent = token["sell_count_move"].ToObject<float>(),
                        BuyCountMovePercent = token["buy_count_move"].ToObject<float>(),
                    };
                items.Add(item);
            }
            return items;
        }