Skip to content

Commit

Permalink
Updated readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ooples committed Feb 11, 2023
1 parent 90783de commit 0293e8d
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 47 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,29 @@ var netSharePurchaseActivityList = await yahooClient.GetNetSharePurchaseActivity
var incomeStatementHistoryQuarterlyList = await yahooClient.GetIncomeStatementHistoryQuarterlyAsync(symbol);
var cashflowStatementHistoryQuarterlyList = await yahooClient.GetCashflowStatementHistoryQuarterlyAsync(symbol);
var balanceSheetHistoryQuarterlyList = await yahooClient.GetBalanceSheetHistoryQuarterlyAsync(symbol);
var chartInfoList = await yahooClient.GetChartInfoAsync(symbol, TimeRange._1Day, TimeInterval._1Minute);
var chartInfoList = await yahooClient.GetChartInfoAsync("GOOG", TimeRange._1Year, TimeInterval._1Day);
var sparkChartInfoList = await yahooClient.GetSparkChartInfoAsync(symbols, TimeRange._1Month, TimeInterval._1Day);
var realTimeQuoteList = await yahooClient.GetRealTimeQuotesAsync(symbol);
var realTimeQuoteList = await yahooClient.GetRealTimeQuotesAsync(symbols);
var marketSummaryList = await yahooClient.GetMarketSummaryAsync();
var autoCompleteList = await yahooClient.GetAutoCompleteInfoAsync("Google");
var topGainersList = await yahooClient.GetTopGainersAsync(10);
var topLosersList = await yahooClient.GetTopLosersAsync(10);
var smallCapGainersList = await yahooClient.GetSmallCapGainersAsync(10);
var mostActiveStocksList = await yahooClient.GetMostActiveStocksAsync(10);
var aggressiveSmallCapsList = await yahooClient.GetAggressiveSmallCapStocksAsync(10);
var conservativeForeignFundsList = await yahooClient.GetConservativeForeignFundsAsync(10);
var growthTechStocksList = await yahooClient.GetGrowthTechnologyStocksAsync(10);
var highYieldBondsList = await yahooClient.GetHighYieldBondsAsync(10);
var mostShortedStocksList = await yahooClient.GetMostShortedStocksAsync(10);
var portfolioAnchorsList = await yahooClient.GetPortfolioAnchorsAsync(10);
var solidLargeGrowthFundsList = await yahooClient.GetSolidLargeGrowthFundsAsync(10);
var solidMidcapGrowthFundsList = await yahooClient.GetSolidMidcapGrowthFundsAsync(10);
var topMutualFundsList = await yahooClient.GetTopMutualFundsAsync(10);
var undervaluedGrowthStocksList = await yahooClient.GetUndervaluedGrowthStocksAsync(10);
var undervaluedLargeCapsList = await yahooClient.GetUndervaluedLargeCapStocksAsync(10);
var undervaluedWideMoatStocksList = await yahooClient.GetUndervaluedWideMoatStocksAsync(10);
var morningstarFiveStarStocksList = await yahooClient.GetMorningstarFiveStarStocksAsync(10);
var strongUndervaluedStocksList = await yahooClient.GetStrongUndervaluedStocksAsync(10);
```


Expand All @@ -76,6 +96,8 @@ BTC: 36DRmZefJNW82q9pHY1kWYSZhLUWQkpgGq

ETH: 0x7D6e58754476189ffF736B63b6159D2647f74f34

USDC: 0x587Ae0709f45b970992bdD772bF693141D95CAED

DOGE: DF1nsK1nLASzmwHNAfNengBGS4w7bNyJ1e

SHIB: 0xCDe2355212764218355c9393FbE121Ae49B43382
Expand All @@ -90,4 +112,4 @@ Patreon: [https://patreon.com/cheatcountry](https://patreon.com/cheatcountry)
Email me at cheatcountry@gmail.com for any help or support or to let me know of ways to further improve this library.
### Support or Contact

Email me at cheatcountry@gmail.com for any help or support or to let me know of ways to further improve this library.
Email me at cheatcountry@gmail.com for any help or support or to let me know of ways to further improve this library.
88 changes: 44 additions & 44 deletions tests/TestConsoleApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,51 +9,51 @@
var symbols = new string[] { symbol, "MSFT", "NFLX", "TSLA", "YHOO", "SPY", "A", "AA", "GOOG", "F", "UBER", "LYFT" };

var yahooClient = new YahooClient();
//var historicalDataList = await yahooClient.GetHistoricalDataAsync(symbol, DataFrequency.Daily, startDate);
//var capitalGainList = await yahooClient.GetCapitalGainDataAsync(symbol, DataFrequency.Monthly, startDate);
//var dividendList = await yahooClient.GetDividendDataAsync(symbol, DataFrequency.Weekly, startDate);
//var stockSplitList = await yahooClient.GetStockSplitDataAsync(symbol, DataFrequency.Monthly, startDate);
//var topTrendingList = await yahooClient.GetTopTrendingStocksAsync(Country.UnitedStates, 10);
//var recommendedList = await yahooClient.GetStockRecommendationsAsync(symbol);
//var keyStatsList = await yahooClient.GetKeyStatisticsAsync(symbol);
//var summaryDetailsList = await yahooClient.GetSummaryDetailsAsync(symbol);
//var insiderHoldersList = await yahooClient.GetInsiderHoldersAsync(symbol);
//var insiderTransactionsList = await yahooClient.GetInsiderTransactionsAsync(symbol);
//var financialDataList = await yahooClient.GetFinancialDataAsync(symbol);
//var institutionOwnershipList = await yahooClient.GetInstitutionOwnershipAsync(symbol);
//var fundOwnershipList = await yahooClient.GetFundOwnershipAsync(symbol);
//var majorDirectHoldersList = await yahooClient.GetMajorDirectHoldersAsync(symbol);
//var secFilingsList = await yahooClient.GetSecFilingsAsync(symbol);
//var insightsList = await yahooClient.GetInsightsAsync(symbol);
//var majorHoldersBreakdownList = await yahooClient.GetMajorHoldersBreakdownAsync(symbol);
//var upgradeDowngradeHistoryList = await yahooClient.GetUpgradeDowngradeHistoryAsync(symbol);
//var esgScoresList = await yahooClient.GetEsgScoresAsync(symbol);
//var recommendationTrendList = await yahooClient.GetRecommendationTrendAsync(symbol);
//var indexTrendList = await yahooClient.GetIndexTrendAsync(symbol);
//var sectorTrendList = await yahooClient.GetSectorTrendAsync(symbol);
//var earningsTrendList = await yahooClient.GetEarningsTrendAsync(symbol);
//var assetProfileList = await yahooClient.GetAssetProfileAsync(symbol);
//var fundProfileList = await yahooClient.GetFundProfileAsync(fundSymbol);
//var calendarEventsList = await yahooClient.GetCalendarEventsAsync(symbol);
//var earningsList = await yahooClient.GetEarningsAsync(symbol);
//var balanceSheetHistoryList = await yahooClient.GetBalanceSheetHistoryAsync(symbol);
//var cashflowStatementHistoryList = await yahooClient.GetCashflowStatementHistoryAsync(symbol);
//var incomeStatementHistoryList = await yahooClient.GetIncomeStatementHistoryAsync(symbol);
//var earningsHistoryList = await yahooClient.GetEarningsHistoryAsync(symbol);
//var quoteTypeList = await yahooClient.GetQuoteTypeAsync(symbol);
//var priceList = await yahooClient.GetPriceInfoAsync(symbol);
//var netSharePurchaseActivityList = await yahooClient.GetNetSharePurchaseActivityAsync(symbol);
//var incomeStatementHistoryQuarterlyList = await yahooClient.GetIncomeStatementHistoryQuarterlyAsync(symbol);
//var cashflowStatementHistoryQuarterlyList = await yahooClient.GetCashflowStatementHistoryQuarterlyAsync(symbol);
//var balanceSheetHistoryQuarterlyList = await yahooClient.GetBalanceSheetHistoryQuarterlyAsync(symbol);
//var chartInfoList = await yahooClient.GetChartInfoAsync("GOOG", TimeRange._1Year, TimeInterval._1Day);
//var sparkChartInfoList = await yahooClient.GetSparkChartInfoAsync(symbols, TimeRange._1Month, TimeInterval._1Day);
//var realTimeQuoteList = await yahooClient.GetRealTimeQuotesAsync(symbols);
//var marketSummaryList = await yahooClient.GetMarketSummaryAsync();
var historicalDataList = await yahooClient.GetHistoricalDataAsync(symbol, DataFrequency.Daily, startDate);
var capitalGainList = await yahooClient.GetCapitalGainDataAsync(symbol, DataFrequency.Monthly, startDate);
var dividendList = await yahooClient.GetDividendDataAsync(symbol, DataFrequency.Weekly, startDate);
var stockSplitList = await yahooClient.GetStockSplitDataAsync(symbol, DataFrequency.Monthly, startDate);
var topTrendingList = await yahooClient.GetTopTrendingStocksAsync(Country.UnitedStates, 10);
var recommendedList = await yahooClient.GetStockRecommendationsAsync(symbol);
var keyStatsList = await yahooClient.GetKeyStatisticsAsync(symbol);
var summaryDetailsList = await yahooClient.GetSummaryDetailsAsync(symbol);
var insiderHoldersList = await yahooClient.GetInsiderHoldersAsync(symbol);
var insiderTransactionsList = await yahooClient.GetInsiderTransactionsAsync(symbol);
var financialDataList = await yahooClient.GetFinancialDataAsync(symbol);
var institutionOwnershipList = await yahooClient.GetInstitutionOwnershipAsync(symbol);
var fundOwnershipList = await yahooClient.GetFundOwnershipAsync(symbol);
var majorDirectHoldersList = await yahooClient.GetMajorDirectHoldersAsync(symbol);
var secFilingsList = await yahooClient.GetSecFilingsAsync(symbol);
var insightsList = await yahooClient.GetInsightsAsync(symbol);
var majorHoldersBreakdownList = await yahooClient.GetMajorHoldersBreakdownAsync(symbol);
var upgradeDowngradeHistoryList = await yahooClient.GetUpgradeDowngradeHistoryAsync(symbol);
var esgScoresList = await yahooClient.GetEsgScoresAsync(symbol);
var recommendationTrendList = await yahooClient.GetRecommendationTrendAsync(symbol);
var indexTrendList = await yahooClient.GetIndexTrendAsync(symbol);
var sectorTrendList = await yahooClient.GetSectorTrendAsync(symbol);
var earningsTrendList = await yahooClient.GetEarningsTrendAsync(symbol);
var assetProfileList = await yahooClient.GetAssetProfileAsync(symbol);
var fundProfileList = await yahooClient.GetFundProfileAsync(fundSymbol);
var calendarEventsList = await yahooClient.GetCalendarEventsAsync(symbol);
var earningsList = await yahooClient.GetEarningsAsync(symbol);
var balanceSheetHistoryList = await yahooClient.GetBalanceSheetHistoryAsync(symbol);
var cashflowStatementHistoryList = await yahooClient.GetCashflowStatementHistoryAsync(symbol);
var incomeStatementHistoryList = await yahooClient.GetIncomeStatementHistoryAsync(symbol);
var earningsHistoryList = await yahooClient.GetEarningsHistoryAsync(symbol);
var quoteTypeList = await yahooClient.GetQuoteTypeAsync(symbol);
var priceList = await yahooClient.GetPriceInfoAsync(symbol);
var netSharePurchaseActivityList = await yahooClient.GetNetSharePurchaseActivityAsync(symbol);
var incomeStatementHistoryQuarterlyList = await yahooClient.GetIncomeStatementHistoryQuarterlyAsync(symbol);
var cashflowStatementHistoryQuarterlyList = await yahooClient.GetCashflowStatementHistoryQuarterlyAsync(symbol);
var balanceSheetHistoryQuarterlyList = await yahooClient.GetBalanceSheetHistoryQuarterlyAsync(symbol);
var chartInfoList = await yahooClient.GetChartInfoAsync("GOOG", TimeRange._1Year, TimeInterval._1Day);
var sparkChartInfoList = await yahooClient.GetSparkChartInfoAsync(symbols, TimeRange._1Month, TimeInterval._1Day);
var realTimeQuoteList = await yahooClient.GetRealTimeQuotesAsync(symbols);
var marketSummaryList = await yahooClient.GetMarketSummaryAsync();
var autoCompleteList = await yahooClient.GetAutoCompleteInfoAsync("Google");
//var topGainersList = await yahooClient.GetTopGainersAsync(10);
//var topLosersList = await yahooClient.GetTopLosersAsync(10);
//var smallCapGainersList = await yahooClient.GetSmallCapGainersAsync(10);
var topGainersList = await yahooClient.GetTopGainersAsync(10);
var topLosersList = await yahooClient.GetTopLosersAsync(10);
var smallCapGainersList = await yahooClient.GetSmallCapGainersAsync(10);
var mostActiveStocksList = await yahooClient.GetMostActiveStocksAsync(10);
var aggressiveSmallCapsList = await yahooClient.GetAggressiveSmallCapStocksAsync(10);
var conservativeForeignFundsList = await yahooClient.GetConservativeForeignFundsAsync(10);
Expand Down

0 comments on commit 0293e8d

Please sign in to comment.