Files
OpenBB/openbb_platform/providers/nasdaq/openbb_nasdaq
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
2026-09-29 14:45:53 +00:00
2026-09-29 14:45:53 +00:00
2026-09-29 14:45:53 +00:00