yfinance.Sector.__init__#

Sector.__init__(key, session=None, proxy=None)#
Parameters:
  • key (str) – The key representing the sector.

  • session (requests.Session, optional) – A session for making requests. Defaults to None.

  • proxy (dict, optional) – A dictionary containing proxy settings for the request. Defaults to None.

See also

Sector.industries

Map of sector and industry