Package: yfscreen
Type: Package
Title: Yahoo Finance 'screener' API
Version: 0.1.2
Date: 2025-05-18
Authors@R: person("Jason", "Foster", , "jason.j.foster@gmail.com", c("aut", "cre"))
Description: Simple and efficient access to Yahoo Finance's 'screener' API <https://finance.yahoo.com/research-hub/screener/> for querying and retrieval of financial data. The core functionality abstracts the complexities of interacting with Yahoo Finance APIs, such as session management, crumb and cookie handling, query construction, pagination, and JSON payload generation. This abstraction allows users to focus on filtering and retrieving data rather than managing API details. Use cases include screening across a range of security types including equities, mutual funds, ETFs, indices, and futures. The package supports advanced query capabilities, including logical operators, nested filters, and customizable payloads. It automatically handles pagination to ensure efficient retrieval of large datasets by fetching results in batches of up to 250 entries per request. Filters can be dynamically defined to accommodate a wide range of screening needs. The implementation leverages standard HTTP libraries to handle API interactions efficiently and provides support for both R and Python to ensure accessibility for a broad audience.
License: GPL (>= 2)
Encoding: UTF-8
URL: https://github.com/jasonjfoster/screen
BugReports: https://github.com/jasonjfoster/screen/issues
Depends: R (>= 3.5.0)
Imports: curl, jsonlite
Suggests: covr, testthat
LazyData: true
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2025-05-18 11:20:38 UTC; jason
Author: Jason Foster [aut, cre]
Maintainer: Jason Foster <jason.j.foster@gmail.com>
Repository: CRAN
Date/Publication: 2025-05-18 14:30:02 UTC
Built: R 4.6.0; ; 2026-04-27 05:32:03 UTC; unix
