Skip to content

Setting the market #2600

@davidghope-dev

Description

@davidghope-dev

It would be useful to be able to set which market is in scope.

For example, this code snippet,

    sector = yf.Sector(sector_key)
    top_companies_df = sector.top_companies

only works or assumes the yf.Market variable is US.

It would be better to be able to scope yf statements to any of the Yahoo Markets,
US
GB
ASIA
EUROPE

  RATES
  COMMODITIES
  CURRENCIES
  CRYPTOCURRENCIES

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions