Functions and Utilities#

Download Market Data#

The download function allows you to retrieve market data for multiple tickers at once.

download(tickers[, start, end, actions, ...])

Download yahoo tickers

Query Market Data#

The Sector and Industry modules allow you to access the sector and industry information.

EquityQuery(operator, operand)

The EquityQuery class constructs filters for stocks based on specific criteria such as region, sector, exchange, and peer group.

Screener([session, proxy])

The Screener class is used to execute the queries and return the filtered results.

See also

EquityQuery.valid_operand_fields

supported operand values for query

EquityQuery.valid_eq_operand_map

supported EQ query operand parameters

Screener.predefined_bodies

supported predefined screens

Enable Debug Mode#

Enables logging of debug information for the yfinance package.

Set Timezone Cache Location#

Sets the cache location for timezone data.