예제 #1
0
        public IEnumerable <IMarketDataEntity> GetDownloadedDataFromWeb()
        {
            _logger.Info("Downloading market data ...");

            var entities = HtmlDownloader
                           .DownloadAll()
                           .GetMarketDataEntities()
                           .ToImmutableList();

            _logger.Info($"{(entities.Any() ? entities.Count.ToString() : "No")} market data entity downloaded.");

            return(entities);
        }
예제 #2
0
 internal MarketDataEntities DownloadFromWeb()
 {
     return(HtmlDownloader
            .DownloadAll()
            .GetMarketDataEntities());
 }