public string getStringFromQuandl(RequestHistoricalStockQuandl RequestHistoricalStock)
        {
            var index  = string.IsNullOrEmpty(RequestHistoricalStock.Index) ? QuandlStockIndex.DefaltIndex : RequestHistoricalStock.Index;
            var URL    = $"{AppConfiguration.Endpoints.QuadlPoint}{index}/data.{RequestHistoricalStock.DataType}?api_key={AppConfiguration.QuandlAPIKey}";
            var client = new System.Net.WebClient();
            var result = client.DownloadString(URL);

            return(result);
        }
        public IEnumerable <TimeSeriesIndex> getCSVFromQuandlIndex(RequestHistoricalStockQuandl RequestHistoricalStock)
        {
            var index  = string.IsNullOrEmpty(RequestHistoricalStock.Index) ? QuandlStockIndex.DefaltIndex : RequestHistoricalStock.Index;
            var URL    = $"{AppConfiguration.Endpoints.QuadlPoint}{index}/data.{RequestHistoricalStock.DataType}?api_key={AppConfiguration.QuandlAPIKey}";
            var client = new System.Net.WebClient();
            var result = client.DownloadString(URL);

            return(new CSVDeserializer().Decerialize <TimeSeriesIndex> (result));
        }
        public IEnumerable <TimeSeriesIndex> GetQuandlDataIndex(RequestHistoricalStockQuandl RequestHistoricalStockQuandl)
        {
            var result = IHistoricalStockAdapter.getCSVFromQuandlIndex(RequestHistoricalStockQuandl);

            return(result);
        }
        public string getStringFromQuandl(RequestHistoricalStockQuandl RequestHistoricalStockQuandl)
        {
            var result = IHistoricalStockAdapter.getStringFromQuandl(RequestHistoricalStockQuandl);

            return(result);
        }
        public IEnumerable <RowHistoricalStockBase> GetQuandlData(RequestHistoricalStockQuandl RequestHistoricalStockQuandl)
        {
            var result = IHistoricalStockAdapter.getCSVFromQuandl(RequestHistoricalStockQuandl);

            return(result);
        }