Files
OpenBB/openbb_platform/providers
John Seong 6b12c47f0a feat(platform): extend Country type standardization to equity screeners (#7355)
* feat(platform): extend Country type standardization to equity screeners

Apply standardized Country type from PR #7333 to additional providers.

Changes:
- YFinance equity_screener: Accept ISO codes, country names; convert to lowercase
- Nasdaq equity_screener: Accept ISO codes, preserve multi-value functionality
- Nasdaq economic_calendar: Accept ISO codes, convert to snake_case
- Seeking Alpha calendar_earnings: Accept ISO codes for US/CA

All validators normalize inputs to provider-expected formats while maintaining
backward compatibility with existing inputs.

Part of extending #6969 coverage across providers.

---

Question for maintainers: Should this be extended to moderate (OECD, EconDB)
or full (all providers) coverage?

* refactor: apply review feedback - validate invalid country input instead of passing to API

* refactor(yfinance): validate country input against supported list

* dedupe nasdaq screener choices definitions

* fix(nasdaq): use get_args() instead of __args__ for mypy compatibility

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-02-13 18:34:49 +00:00
..
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2026-01-08 08:43:07 +00:00
2024-05-15 20:04:36 +02:00

Providers

In this folder you can find the providers that were created or are supported by OpenBB.

Every provider is located within a directory, with the following structure:

openbb_platform
└───providers
    └───<provider_name>
        |   README.md
        │   pyproject.toml
        │   poetry.lock
        |───tests
        └───openbb_<provider_name>
            │   __init__.py
            |───models
            |   |───<some model>.py
            |   └───...
            └───utils
                |───<some helper>.py
                └───...

The models define the data structures that are used to query the provider endpoints and store the response data.

See CONTRIBUTING file for more details