Example #1
0
        public static DataNode[] QueryData(string code, DateTime day)
        {
            WindData result;

            lock (_threadLock)
            {
                var start = day.Date.AddHours(9.5);
                var end   = day.Date.AddHours(15);
                result = _api.wst(code, "last,volume", start, end, "");
            }

            return(DataHelper.ParseData(result, "wst"));
        }