Files
OpenBB/openbb_platform/providers/fmp
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
..
2025-10-10 23:16:16 +00:00
2026-01-08 08:43:07 +00:00
2024-06-05 09:59:22 +00:00

OpenBB Financial Modeling Prep Provider

This extension integrates the Financial Modeling Prep data provider into the OpenBB Platform.

Installation

To install the extension:

pip install openbb-fmp

Documentation available here.