Package: yfhist 0.1.4
yfhist: Yahoo Finance 'history' API
Simple and efficient access to Yahoo Finance's 'history' API <https://finance.yahoo.com/> 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.
Authors:
yfhist_0.1.4.tar.gz
yfhist_0.1.4.zip(r-4.7)yfhist_0.1.4.zip(r-4.6)yfhist_0.1.4.zip(r-4.5)
yfhist_0.1.4.tgz(r-4.6-any)yfhist_0.1.4.tgz(r-4.5-any)
yfhist_0.1.4.tar.gz(r-4.7-any)yfhist_0.1.4.tar.gz(r-4.6-any)
yfhist_0.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
yfhist/json (API)
| # Install 'yfhist' in R: |
| install.packages('yfhist', repos = c('https://jasonjfoster.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jasonjfoster/hist/issues
- data_intervals - Intervals Data for the Yahoo Finance API
Last updated from:e679383bdb. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 135 | ||
| source / vignettes | OK | 170 | ||
| linux-release-x86_64 | OK | 133 | ||
| macos-release-arm64 | OK | 118 | ||
| macos-oldrel-arm64 | OK | 108 | ||
| windows-devel | OK | 87 | ||
| windows-release | OK | 95 | ||
| windows-oldrel | OK | 92 | ||
| wasm-release | OK | 95 |
Exports:get_colget_dataget_session
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Yahoo Finance 'history' API | yfhist-package yfhist |
| Intervals Data for the Yahoo Finance API | data_intervals |
| Get a Column from the Yahoo Finance API | get_col |
| Get Data from the Yahoo Finance API | get_data |
| Get the Crumb, Cookies, and Handle for Yahoo Finance API | get_session |
