Package: yahoofinancer 0.6.1

Aravind Hebbali

yahoofinancer: Fetch Data from Yahoo Finance API

Obtain historical and near real time data related to stocks, index and currencies from the Yahoo Finance API. This package is community maintained and is not officially supported by 'Yahoo'. The accuracy of data is only as correct as provided on <https://finance.yahoo.com/>.

Authors:Aravind Hebbali [aut, cre]

yahoofinancer_0.6.1.tar.gz
yahoofinancer_0.6.1.zip(r-4.7-any)yahoofinancer_0.6.1.zip(r-4.6-any)yahoofinancer_0.6.1.zip(r-4.5-any)
yahoofinancer_0.6.1.tgz(r-4.6-any)yahoofinancer_0.6.1.tgz(r-4.5-any)
yahoofinancer_0.6.1.tar.gz(r-4.7-any)yahoofinancer_0.6.1.tar.gz(r-4.6-any)
yahoofinancer_0.6.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
yahoofinancer/json (API)

# Install 'yahoofinancer' in R:
install.packages('yahoofinancer', repos = c('https://rsquaredacademy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rsquaredacademy/yahoofinancer/issues

Pkgdown/docs site:https://yahoofinancer.rsquaredacademy.com

On CRAN:

Conda:

apiapi-wrapperfinancemarket-datastock-marketyahoo-financeyahoo-finance-api

7.68 score 20 stars 60 scripts 457 downloads 12 exports 25 dependencies

Last updated from:35a745ac4d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK141
source / vignettesOK200
linux-releaseOK132
macos-releaseOK106
macos-oldrelOK87
windows-develOK87
windows-releaseOK92
windows-oldrelOK93
wasm-releaseOK131

Exports:currency_converterget_currenciesget_market_summaryget_trendingIndexTickerTickersvalidateyf_download_pricesyf_get_financialsyf_get_index_quotesyf_get_market_stats

Dependencies:askpassclicpp11curldplyrgenericsgluehttr2jsonlitelifecyclelubridatemagrittropensslpillarpkgconfigpurrrR6rlangsystibbletidyselecttimechangeutf8vctrswithr

Building a Live Market Dashboard with Shiny
Overview | Required Packages | 1. Dashboard Anatomy | 2. Designing the User Interface | 3. Reactive Data Layer | 4. Quote Cards | 5. Price History Chart | 6. Minimal Reproducible Example | 7. Summary | 8. Going Further

Last update: 2026-09-16
Started: 2026-08-26

Comparing a Portfolio of Stocks
Overview | Required Packages | 1. Fetching Prices for Multiple Tickers | 2. Normalizing Prices for Comparison | 3. Plotting Side-by-Side with ggplot2 | 4. Minimal Reproducible Example | 5. Summary | 6. Going Further | Keep only symbols that Yahoo recognizes

Last update: 2026-09-16
Started: 2026-08-21

Event Study: Earnings Announcements and Price Reactions
Overview | Required Packages | 1. Define Events and Fetch Windows | 2. Compute Abnormal Returns | 3. Daily Abnormal Returns Around One Announcement | 4. Average CAR Across All Events | 5. Reading the Results | 6. Minimal Reproducible Example | 7. Summary | 8. Going Further

Last update: 2026-09-16
Started: 2026-08-26

Fundamental Analysis and Stock Screening
Overview | Required Packages | 1. Downloading Financial Statements | Income Statement | Cash Flow Statement | Balance Sheet | 2. Computing Profitability & Solvency Ratios | 3. Valuation Measures Across Peers | 4. Multi-Factor Stock Screening Scorecard | 5. Visualizing Peer Comparisons | Operating Margin Trends | Valuation vs. Operating Profitability | 6. Minimal Reproducible Example | 7. Summary | 8. Going Further

Last update: 2026-09-16
Started: 2026-08-26

Related-Symbol Recommendations and Technical Insights
Overview | Required Packages | 1. Related-Symbol Recommendations | 2. The Technical Insights Snapshot | 3. Company Scorecard vs. Sector | 4. Research Rating and Target Price | 5. Comparing Related Symbols Across a Watchlist | 6. Minimal Reproducible Example | 7. Summary | 8. Going Further

Last update: 2026-09-16
Started: 2026-08-26

Your First Stock Analysis with yahoofinancer
Overview | Required Packages | 1. Download Historical Stock Prices | Understanding the Data Columns | 2. Compute a 50-Day Moving Average | 3. Visualize Price and Trend with ggplot2 | 4. Minimal Reproducible Example | 5. Summary | 6. Going Further

Last update: 2026-09-16
Started: 2026-08-20

Currency Conversion and Forex Data
Overview | Required Packages | 1. Discovering Supported Currencies | 2. Fetching Historical Exchange Rates | 3. Comparing Two Pairs | 4. Plotting GBP/USD vs EUR/USD | 5. Minimal Reproducible Example | 6. Summary | 7. Going Further

Last update: 2026-09-08
Started: 2026-08-25

yahoofinancer Cookbook: 15 Practical Recipes
Overview | Required Packages | 1. Download Historical Equity Prices | Variations & Tips | 2. Batch Download Multiple Tickers | 3. Intraday Price Series & Timeframes | 4. Real-Time Market Overview & Regional Filtering | 5. Download Benchmark Index History | 6. Historical Currency & Forex Conversions | 7. Validate Ticker Symbols Before Pipelines | 8. Calculate Daily Percentage Returns | 9. Multi-Asset Return Correlation Matrix | 10. Compute Moving Averages & Trend Crossovers | 11. Calculate Historical & Maximum Drawdown (MDD) | 12. Calculate Stock Beta & CAPM Alpha | 13. Portfolio Cumulative Returns & Wealth Index (Growth of $10,000) | 14. Calculate Sharpe Ratio & Risk-Adjusted Metrics | 15. Compute Bollinger Bands & Volatility Envelopes

Last update: 2026-09-08
Started: 2026-08-18

Readme and manuals

Help Manual

Help pageTopics
Currency Convertercurrency_converter
Get Supported Currenciesget_currencies
Get Real-Time Market Summaryget_market_summary
Get Trending Securitiesget_trending
R6 Class Representing an IndexIndex Index-class Indice-class
R6 Class Representing a TickerTicker Ticker-class
Symbol validationvalidate
Download Historical Pricesyf_download_prices
Get Financial Statementsyf_get_financials
Get Index Quotesyf_get_index_quotes
Get Market Statisticsyf_get_market_stats