yfinance.Screener.set_default_body#

Screener.set_default_body(query: Query, offset: int = 0, size: int = 100, sortField: str = 'ticker', sortType: str = 'desc', quoteType: str = 'equity', userId: str = '', userIdType: str = 'guid') None#

Set the default body using a custom query

Example

screener.set_default_body(qf)