public List<HistoricalPositionRatio> GetData()
 {
     var result = new List<HistoricalPositionRatio>();
     foreach (var list in data)
     {
         var hpr = new HistoricalPositionRatio()
             {
                 exchangeRate = double.Parse(list[2]),
                 longPositionRatio = double.Parse(list[1]),
                 timestamp = long.Parse(list[0])
             };
         result.Add(hpr);
     }
     return result;
 }
        public List <HistoricalPositionRatio> GetData()
        {
            var result = new List <HistoricalPositionRatio>();

            foreach (var list in data)
            {
                var hpr = new HistoricalPositionRatio()
                {
                    exchangeRate      = double.Parse(list[2]),
                    longPositionRatio = double.Parse(list[1]),
                    timestamp         = long.Parse(list[0])
                };
                result.Add(hpr);
            }
            return(result);
        }