Skip to content

jasonjfoster/screen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screen

Overview

'screen' provides simple and efficient access to Yahoo Finance's 'screener' API https://finance.yahoo.com/research-hub/screener/ for querying and retrieving financial data.

The 'screen' package 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:

  • Equities: coverage spans 50 regions for identifying top-performing stocks based on specified criteria
  • Mutual funds: screened by metrics such as historical performance, performance ratings, and other factors
  • ETFs: filtered by criteria including expense ratio, historical performance, and additional attributes
  • Indices: stock market indices categorized by sector, industry, or the overall market
  • Futures: contracts screened by exchange, price percent changes, and regional specifications

The package supports advanced query capabilities, including logical operators, nested filters, and customizable payloads. It handles pagination automatically, fetching results in batches of up to 250 entries per request for efficient retrieval of large datasets. Filters can be defined dynamically to support a wide range of screening needs.

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.

About

Simple and efficient access to Yahoo Finance's screener API for querying and retrieval of financial data.

Topics

Resources

Stars

20 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors