Пример #1
0
 internal static MarketDataEntities GetMarketDataEntities(this StockExchangesHtmls stockExchangesHtmls)
 {
     return(new MarketDataEntities(
                stockExchangesHtmls.SelectMany(keyValuePair =>
                                               GetTable(keyValuePair.Value)
                                               .GetRows()
                                               .GetMarketDataEntities(keyValuePair.Key))));
 }
Пример #2
0
 internal static IEnumerable <IMarketDataEntity> GetMarketDataEntities(this StockExchangesHtmls stockExchangesHtmls) =>
 new HashSet <IMarketDataEntity>(
     stockExchangesHtmls.SelectMany(keyValuePair =>
                                    GetTable(keyValuePair.Value)
                                    .GetRows()
                                    .GetMarketDataEntities(keyValuePair.Key)));