Files
OpenBB/openbb_platform/providers
Art Cashin e4ca9ed22b fix(nasdaq): keep a split whose ratio has no "a : b" form (#7760)
* fix(nasdaq): keep a split whose ratio has no "a : b" form

Nasdaq's splits calendar also lists percentage stock dividends, published
with a ratio such as "5%". _split_ratio returns no numerator or denominator
for those, but the standard model requires both, so one such row failed
validation and the whole calendar request with it. The Nasdaq model makes
numerator and denominator optional; the row keeps its published
ratio_display.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(nasdaq): a percentage stock dividend has split_ratio 1 + pct, not the percentage

A ratio with no "a : b" form fell through to to_number(ratio), so "5%" gave
split_ratio 5.0, which reads as 5-for-1. A percentage is now 1 + pct (1.05);
any other unparsed ratio has a null split_ratio. The test asserts split_ratio.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: artcashin <artinnj@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 21:49:20 +00:00
..
2026-09-29 14:45:53 +00:00
2026-09-29 14:45:53 +00: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
        │   uv.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