Type: Package
Package: yfhist
Title: Yahoo Finance 'history' API
Version: 0.1.4
Authors@R:
person("Jason", "Foster", , "jason.j.foster@gmail.com", role = c("aut", "cre"))
Description: Simple and efficient access to Yahoo Finance's 'history'
API for querying and retrieving
financial data. The 'yfhist' package abstracts the complexities
of interacting with Yahoo Finance APIs, such as session
management, crumb and cookie handling, query construction, date
validation, and interval management. This abstraction allows
users to focus on retrieving data rather than managing API
details. Use cases include retrieving historical data across a
range of security types such as equities and ETFs, indices, and
other tickers. The package supports flexible query
capabilities, including customizable date ranges, multiple time
intervals, and automatic data validation. It manages
interval-specific limitations automatically, such as lookback
periods for intraday data and maximum date ranges for
minute-level intervals. The implementation uses standard HTTP
libraries to handle API interactions efficiently and is
available in both R and 'Python' for accessibility to a broad
audience.
License: GPL (>= 2)
URL: https://github.com/jasonjfoster/hist
BugReports: https://github.com/jasonjfoster/hist/issues
Depends: R (>= 3.5.0)
Imports: curl, jsonlite
Suggests: covr, testthat
Config/roxygen2/old_usage: TRUE
Config/roxygen2/version: 8.0.0
Encoding: UTF-8
LazyData: true
Config/pak/sysreqs: libssl-dev
Repository: https://jasonjfoster.r-universe.dev
Date/Publication: 2026-07-05 16:53:16 UTC
RemoteUrl: https://github.com/jasonjfoster/hist
RemoteRef: HEAD
RemoteSha: 61a51ffcfe695c278888c365d756b71d8b2e6ea5
RemoteSubdir: r
NeedsCompilation: no
Packaged: 2026-07-05 17:06:57 UTC; root
Author: Jason Foster [aut, cre]
Maintainer: Jason Foster