Commit Graph

6902 Commits

Author SHA1 Message Date
Art Cashin
dbf42dc22e fix(government_us): Congress bulk load lock is per event loop (#7845)
* fix(government_us): Congress bulk load lock is per event loop

An asyncio.Lock belongs to the loop that first waits on it. One lock per key
raised "is bound to a different event loop" when a second loop loaded the same key.

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

* fix(government_us): a Congress load lock lasts only as long as its load

The lock map is keyed by (loop, key), and the Python interface runs each call
on a new loop, so entries (and the closed loops they reference) accumulated.
An entry is now removed when its load ends. Waiters keep the lock object and
read the cache once they hold it.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:59:16 +00:00
Art Cashin
4ca4b77a6b fix(federal_reserve): Minneapolis business conditions reads the period column by position (#7844)
The bank renamed the prices CSV's period column from "Date" to "month".

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:58:19 +00:00
Art Cashin
065ad42ff3 fix(government_us): amendment text viewer opens on an amendment that has text (#7850)
House amendments carry no published text, so the default 119-hamdt-2 opened an empty viewer. The default is now 119-samdt-2.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:57:28 +00:00
Art Cashin
45c2a1342c fix(cboe): do not offer the indices that have no constituents file (#7847)
* fix(cboe): clear error for an index with no constituents file

Cboe answers 403 or 404 for an index it publishes no constituents file for, which surfaced as an unexpected error. The app template opened on such an index (BUKENGY); it now opens on BUK100P.

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

* fix(cboe): do not offer the 29 indices that have no constituents file

Cboe answers 403 for the constituents file of its sector and factor indices.
They are removed from CONSTITUENTS_EU, which feeds both the parameter and the
widget choices, so they can no longer be requested. The 403/404 error branch
added earlier on this branch is removed; the fetcher is as on develop.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:53:44 +00:00
Art Cashin
5f00f98af1 fix(cboe): term structure skips a side with no out-of-the-money strike (#7846)
An expiry that lists a single strike has no OTM strike on one side. The strike lookup returned None and the subtraction raised a TypeError for the whole chart.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:46:23 +00:00
Art Cashin
c66335e25b fix(cboe): a non-numeric settlement price is null (#7759)
The futures options settlement file prints CAB in the price column for
cabinet trades. The column then reads as text and the row fails float
validation, so the whole options request failed. Settlement prices are
coerced to numbers, and a non-numeric price becomes null; the row is kept.

Co-authored-by: artcashin <artinnj@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:43:54 +00:00
Art Cashin
a3753c00eb fix(federal_reserve): Dallas TMOS and TSSOS read the renamed sheet (#7848)
* fix(federal_reserve): Dallas TMOS and TSSOS read the renamed sheet

The Dallas Fed renamed the survey workbooks' sheet from Index to Sheet1. The sheet is picked by name from either, then the only sheet, as dallas_bcs already does.

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

* refactor(federal_reserve): one sheet-selection helper for the Dallas survey workbooks

dallas_tmos, dallas_tssos and dallas_bcs each carried a copy of the same
sheet-picking block. It is now survey_sheet() in utils/dallas_survey.py:
the first published name present, else the only sheet, else an error that
names the sheets found. dallas_bcs used to fall back to its old sheet name
and fail inside pandas; it now raises that same error.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:30:29 +00:00
Wei-Lun Li
7c1a850ecc fix(core): keep default_factory defaults in the generated Python signatures (#7856)
The package builder only read `field.default` when it flattened a
QueryParams model into the arguments of a generated `obb` method, so a
field declared with `default_factory` became a required argument.
`obb.technical.realized_volatility_compare(data=...)` and
`obb.quantitative.attribution/factors/risk_decomposition(...)` failed with
"Missing required argument" for `models` / `periods`, although the REST API
and the docstrings treat them as optional.

Resolve the default the same way the flattening branch for other
QueryParams annotations already did, and use that helper in all three
places.

Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:21:56 +00:00
Dylan Pulver
c21a93492f Correct six docstring entries that contradict the signatures (#7860)
* Name the documented parameters the signatures define

Three Parameters entries name arguments the code does not accept.

- OptionsChainsProperties.strategies takes `synthetic_longs` and
  `synthetic_shorts`; the entries called them `synthetic_long` and
  `synthetic_short`, so the documented keywords raise TypeError. The
  singular names belong to the sibling methods on the same class, which
  is likely where they came from.
- ChartStyle.__init__ documented a `console_style` argument. It takes
  `plt_style` and `user_styles_directory` only.

Docstrings only, no behaviour change.

* Document the defaults the signatures actually use

Three documented defaults in openbb_figure.py contradict the signature.

- add_trend's `secondary_y` is `bool = False` and was documented as
  None, which is not a value it accepts.
- add_inchart_volume's `row` defaults to 1, not 2. Its sibling `col`
  already documents 1 correctly.
- add_corr_plot's `max_lag` defaults to 20, not 15.

Docstrings only, no behaviour change. add_histplot also documents
"by default 15" for `bins`, which is correct and is left alone.

---------

Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:18:15 +00:00
Lucas Barros
e61a902240 [BugFix] openbb-core: Build combined certificate path from the file name (#7818)
combine_certificates split the full path on the first ".", so a dot in a
parent directory produced an invalid output path (the CA bundle was then
silently dropped) and a certificate without an extension raised IndexError.
Use the pathlib stem and suffix instead.

Signed-off-by: Lucas Barros <lucasbarros.kam@gmail.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 23:00:43 +00:00
furqankhan
862fe94408 [BugFix] openbb-core: Compute every vertical put spread in strategies() (#7835)
The `for day in days` loop for vertical put spreads sat outside the
`for c in vertical_puts` loop, so only the last strike pair was ever
priced. Nest it the same way as the vertical call branch and add a
regression test with two put spreads across two expirations.

Co-authored-by: Furqan Khan <236162110+furqan-khan07@users.noreply.github.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-28 21:53:51 +00:00
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
dlee-bq
f9b667816a fix(deps): resolve Dependabot security alerts (#7838)
* fix(deps): bump tornado, opentelemetry-api, soupsieve, dnspython, joserfc in uv.lock files

- tornado 6.5.10 -> 6.6.1
- opentelemetry-api 1.45.1 -> 1.45.2
- soupsieve 3.0.3 -> 4.1 (Python >= 3.11.5)
- dnspython 2.9.0 -> 2.9.2
- joserfc 1.7.5 -> 1.7.6

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(desktop): bump glob, minimatch, seroval

- glob 13.0.6 -> 14.0.6
- minimatch 10.2.6 -> 11.0.8
- seroval 1.6.9 -> 1.8.1
- raise the package.json floors to the patched versions

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(desktop): bump zip to 9.5.1 via tauri-cli and tauri-plugin-updater

- tauri-cli 2.12.2 -> 2.12.4
- tauri-plugin-updater 2.14.0 -> 2.14.1
- zip 2.4.2, 4.6.1, 8.6.0 -> 9.5.1

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(deps): raise requires-python to >=3.11.5

- soupsieve 3.x and 4.x need Python >= 3.11.5; the 2.10 fork stayed vulnerable for 3.11.0-3.11.4
- 39 pyproject.toml files (38 projects + cookiecutter template)
- relock all 38 uv.lock files: soupsieve 2.10 fork gone, tomli and async-timeout dropped

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

---------

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-11-28 20:39:03 +00:00
dlee-bq
f0f1852b96 [BugFix] openbb-famafrench: Read Ind_Scandanavia.Dat for the Scandinavia index (#7836)
* fix(famafrench): read Ind_Scandanavia.Dat for the scandinavia index

Both F-F_International_Indices.zip and F-F_International_Indices_Wout_Div.zip
spell the member Ind_Scandanavia.Dat, so index="scandinavia" always raised
"Index Ind_Scandinavia.Dat not found". Live: 612 monthly and 51 annual rows
(1975-2025) with and without dividends.

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* chore(famafrench): rename the ty rule unresolved-import to import-not-found

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

---------

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-11-18 21:11:39 +00:00
Wei-Lun Li
fac2bd450f fix(famafrench): select the 'Not Reqd' tables when all_data_items_required=False (#7823)
get_international_portfolio filtered the frames and their metadata with
different conditions when all_data_items_required is False. The frames
kept the tables without "Not Reqd" in the description, which are the
"Required" tables, and the metadata kept descriptions ending with
"Not Reqd", which the ex-dividend files never do because their
descriptions end with " - Ex-Dividends".

So with dividends=True the call returned the "All 4 Data Items
Required" returns under the "Not Reqd" description, and with
dividends=False the metadata list was empty and transform_data raised
IndexError. The documented example
obb.famafrench.country_portfolio_returns(frequency="annual",
measure="local", country="japan", dividends=False,
all_data_items_required=False) fails with
"[Unexpected Error] -> IndexError -> list index out of range".

Filter both lists on "Not Reqd" in the description.

Co-authored-by: dlee-bq <dlee@brightquery.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-11-15 19:40:37 +00:00
Eduardo Andrade da Silva Lima
1cba05e0e4 [Hotfix] - Fix SEC standard taxonomy label downloads from xbrl.sec.gov (#7831)
* [BugFix] openbb-sec: download standard taxonomy labels from xbrl.sec.gov

* chore(sec): update pyproject.toml for latest ruff, ty, and pytest-asyncio

* chore(sec): ignore PytestWarning from pytest 9.2 fixture check

---------

Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-15 19:39:42 +00:00
idpfaff
e43353a828 Respect expiration when selecting option strikes (#7808)
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-13 02:14:58 +00:00
José Felipe
7660a177b3 Count Deribit options DTE to the exchange expiry (#7820)
The options chains fetcher counted days to expiration from the
machine's local calendar date, so one contract got a different DTE
depending on where the machine was: five hours before it expires, a
machine in America/Los_Angeles got 1 day where UTC and Tokyo got 0.
It also disagreed with the provider's own analysis chain, which counts
to the 08:00 UTC instant the exchange expires the contract at.

Both now go through one helper, days_to_expiration(), which counts the
whole days left to the expiration timestamp Deribit publishes. A
contract listed without one falls back to 08:00 UTC on the date in its
name. time-machine joins the dev group to freeze the clock and the
local timezone in the tests.

Refs #7611

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-13 01:45:53 +00:00
Art Cashin
11290d8b46 perf(cftc): build each FX pair's forward curve once per day, shared with the vol surface (#7750)
* perf(cftc): price FX prints from their peers without re-extracting the pair

fx_market prices each FX print from the pair's other prints (leave-one-out)
and re-extracted every peer record, twice, for each print; the swap_trades
forex priceability gate does that for every print of the day, so a forex
swap_trades call was quadratic in a pair's prints: over an hour of CPU on a
day of ~43k FX prints, holding the event loop the whole time. option_vol
likewise re-extracted and re-implied every vanilla option of the pair for
each option print.

fx_market now prepares each pair once per call. The extraction's only
cross-record input is its median anchor, and leaving out one print leaves
one of a few possible anchors, so each anchor's oriented, carry-checked
observations are built once and a print only re-takes the medians its own
observation touches. Markets carry a key (pair, anchor, left-out prints,
min_trades); equal keys mean equal markets, and option_vol prices a family
once per key.

Results are unchanged. A new test checks every print's spot and forward
against extract_fx_observations + ndf_forward_curve over its peers; on a real
2026-10-08 DTCC file, 889 sampled prints (506 forwards, 383 options) gave
field-for-field the same value_fx_trade output, and all 57,536 records valued
in 5.1 s. Tests that stubbed the extraction helpers now stub _peer_curve,
the new seam, with unchanged assertions.

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

* refactor(cftc): build each pair's curve once with the shared NDF utility

Address review: drop the leave-one-out reimplementation (_pair_view,
_anchored, _median_without and the inline forward interpolator).
fx_market now calls extract_fx_observations and ndf_forward_curve once per
pair and curve date over all of the pair's prints, package legs included,
so valuation and the vol surface use the same NDF curve. The curve, market
and option-pricing memo keys include the curve date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SEna2ixXYhEGEAQdJM2D3G

---------

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-11 05:09:39 +00:00
Art Cashin
ca1d11fe5c fix(federal_reserve): empty viewer selections, renamed Dallas sheets, KC file names (#7754)
The multi-file viewer downloads (FOMC documents, FFIEC BHCPR and financial
report PDFs, and the twelve regional publication viewers) iterated
params.get("url", []). A viewer with nothing selected sends {"url": null},
so each raised TypeError (500). They now read params.get("url") or [], as
the BLS document downloads do.

The Dallas Fed renamed the worksheets of two workbooks: Banking Conditions
Survey CSV_BCS_Index_Results -> BCS_Index_Results, and IGREA IGREA ->
Kilian Index. The fetchers pick the old name, then the new name, then the
only sheet; the column layouts are unchanged.

The FFIEC peer group roster reports some amounts in fractional thousands;
average_assets and net_income are int fields, so the scaled values are
rounded to whole dollars instead of failing validation.

The Kansas City Fed Ag credit survey, interest rates and finance databook
kept their document ids but now carry quarter-versioned file names, so the
hard-coded URLs 404. They resolve the current URL from the index page with
resolve_kc_ag_url, as the district surveys and terms of lending already do,
inside the cache producer.

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-10 02:31:21 +00:00
Art Cashin
3e87b86a04 fix(government_us): read USDA ERS renamed zip members and preliminary years (#7755)
* fix(government_us): read USDA ERS renamed zip members and preliminary years

ERS renamed the CSV members of two machine-readable zips:
Vegetables_Pulses.csv -> vegetables-pulses-data.csv, and in the livestock
and meat zip MeatSD.csv -> Meat-Supply-Disappearance.csv and
MeatStats.csv -> Meat-Statistics.csv. Reading the old names raised KeyError
for every vegetables and pulses table and five livestock tables. The readers
now try the new name, then the old one, case-insensitively; the CSV columns
are unchanged.

The farm household income tables now publish preliminary years such as
2025P. parse_year read only the forecast suffix F, so int("2025P") failed;
it now strips P too and the sort key orders P like F, after the plain year.

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

* test(government_us): cover string ZIP members

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* chore(government_us): update renamed ty rule

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

---------

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: artcashin <artinnj@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-09 16:45:39 -07:00
Theodore Aptekarev
8c69d8d763 Allow overriding the default apps catalogue (#7817)
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-06 17:09:43 -07:00
Ryan Duguid
c6d097b271 [BugFix] openbb-technical: Use open-to-close variance in Yang-Zhang volatility (#7807)
* fix(technical): use open-to-close in Yang-Zhang

The Yang-Zhang estimator combines overnight (close-to-open) variance, open-to-close variance and Rogers-Satchell variance. The close term used close-to-close log returns, which already contain the overnight move, so overnight variance was counted twice and the estimate was inflated by up to sqrt(1 + k). Use log(close / open) as the docstring and the original paper describe.

* test(technical): check Yang-Zhang against a hand-computed window

---------

Co-authored-by: Ryan Duguid <ryanduguid@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-06 15:56:31 -07:00
isihussain
2f079ac946 docs: update CONTRIBUTING link in platform PR template (#7816)
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-11-06 15:55:44 -07:00
dlee-bq
d6831d10f7 Update lint-openbb-platform.yml to remove merge_group (#7819)
Removed merge_group trigger from the workflow.
2026-11-06 15:51:51 -07:00
dlee-bq
2a392e890f [BugFix] openbb-cli: Add api-prefix and overlay support to spec generation (#7811)
* feat(cli): add api-prefix and overlay support to spec generation

Add --api-prefix and --overlay options to the spec-generation command so
commands can be named from a URL path prefix and OpenAPI Overlay 1.0
documents can be applied before building the spec. Normalize router
segments so a leading digit gets an underscore and a Python keyword gets
a trailing one, and add mounted_command_paths to map spec paths to the
paths they mount at under obb.

* fix: remove local-only entries from .gitignore

Remove .claude/ and github_metadata/ patterns that only exist locally
and have no business in the shared repository.

---------

Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-11-02 04:56:46 +00:00
dlee-bq
53d4dcc46d [Feature] Drop Python 3.10 and Resolve Open Dependabot Alerts (#7804)
* Drop Python 3.10 support

Python 3.10 reached end of life on 2026-10-01, and the patched releases of
Pillow (13.0.0) and filelock (>=4.2.1) require Python >=3.11, so the 3.10
resolution fork kept vulnerable versions in every lockfile.

- requires-python = ">=3.11,<4" in all pyproject.toml files, the
  cookiecutter template, and the CLI codegen project template
- CI: drop the ubuntu 3.10 matrix rows, move the macOS/Windows minimum
  rows and the lint jobs to 3.11, drop 3.10 from the nox sessions
- READMEs: state 3.11 as the minimum supported version

* Relock with patched certifi, filelock, virtualenv, Pillow, and fastmcp

Regenerate all 38 uv.lock files against requires-python >=3.11 and upgrade
only the packages with open Dependabot advisories:

- certifi 2026.7.22 -> 2026.10.23 (GHSA-6q48-6c7w-9gw2, compromised emSign CAs)
- virtualenv 21.14.7 -> 21.14.13
- filelock 4.1.0/4.2.0 -> 4.2.4
- Pillow 12.3.0 -> 13.0.0
- fastmcp / fastmcp-slim 4.1.0 -> 4.1.3

All other changes are removed Python 3.10-only resolution forks; no other
package changes version for Python 3.11+.

* desktop: bump zod, @hookform/resolvers, and vitest

- zod ^3.25.76 -> ^4.6.7 (GHSA-mrhx-c7xc-m3w5; no patched 3.x exists)
- @hookform/resolvers ^3.10.0 -> ^5.9.2 for zod 4 support
- vitest ^4.1.11 -> ^4.1.12 (@vitest/mocker GHSA-qxg6-89mg-rqv8,
  GHSA-xp26-3454-mjgp)
- override zod to the root version so @openbb/ui-pro, which declares
  zod ^3 but never imports it, does not pull in a second, vulnerable copy

* desktop: remove Python 3.10 from environment pickers

- version pickers in InstallComponents and AddExtensionSelector start at 3.11
- create_environment_from_requirements accepts 3.11 through 3.14 and falls
  back to 3.12 otherwise (previously 3.10 through 3.13)
- component tests select 3.11 instead of 3.10

* Remove Python 3.10 tomli fallbacks

With requires-python >=3.11, tomllib is always available, so the
version-conditional tomli imports are dead code.

- import tomllib directly in the cli and core config loaders, the
  mcp_server and platform_api config validators, dev_install.py, and
  the cli and cookiecutter tests; dev_install.py no longer pip-installs
  tomli on the fly
- drop the tomli>=2.0; python_version<'3.11' dependency from cli, core,
  mcp_server, and platform_api, plus platform_api's backport comment
- raise the fake-extension fixtures in cli/conftest.py,
  core/integration/conftest.py, and the charting test metadata to
  >=3.11
- relock cli, core, mcp_server, and platform_api; only the tomli
  requires-dist entry is removed and resolution markers are reordered,
  no package versions change

* Target Python 3.11 in ruff and ty for cli, core, mcp_server, platform_api, cookiecutter

With ruff target-version py310 and ty python-version 3.10, both tools
reject an unconditional `import tomllib`: ty reports it as unresolved
(exit 1) and ruff's isort classifies it as third-party. Raise the targets
in the projects that now import tomllib directly, and in the root
ruff.toml that governs dev_install.py.

- ruff target-version = "py311" and ty python-version = "3.11" in cli,
  core, mcp_server, platform_api, and cookiecutter; root ruff.toml
  target-version = "py311"
- UP042: OutputMode, ChartLifecycle, MCPType, and HTTPMethod become
  StrEnum; every consumer uses .value or == comparisons, so only str()
  and format() output change
- UP017: datetime.timezone.utc -> datetime.UTC (ruff autofix) in the cli
  dispatchers, the cli test generator, and a core test

* Fix ruff and ty failures in packages this PR touches

CI installs unpinned dependencies, so the lint jobs ran against
pandas 3.1.0, ruff 0.17.2, and ty 0.0.91.

- cli/conftest.py: guard the find_spec("openbb") lookup so ty no longer
  reports an Optional ModuleSpec/origin (failing Lint openbb-cli)
- quantitative: pandas 3.1 types Index.max() as object; cast max_date to
  Timestamp before period_start in attribution, factors, and
  risk_decomposition (failing ty)
- federal_reserve: use Series(...).dt.date instead of
  DatetimeIndex.date so neither pandas 3.0 nor 3.1 needs a ty: ignore
  (pandas 3.1 made the existing ignores unused, failing ty)
- core tests: type the filter_by_dates doubles as Data subclasses and
  cast the deliberate bad arguments in test_helpers.py; apply ruff format
  to test_docstring_generator_helpers.py
- platform_api README: apply ruff format to the Python code blocks

* Fix pandas 3.1 deprecations failing fred, sec, and eia tests

These suites turn warnings into errors, and pandas 3.1.0 adds
Pandas4Warning deprecations for several patterns they use. Every change
also passes with the locked pandas 3.0.6.

- fred, sec: replace inplace=True sort_values/reset_index/rename/
  set_index/drop with reassignment
- fred balance_of_payments, sec as_filed_widget: replace fillna with a
  string on float columns by astype(object).where(notna, ...)
- sec: build quarter start dates from ISO strings instead of parsing
  "2024Q2"-style strings; use the DataFrame constructor instead of
  DataFrame.from_records for column dicts; pad CIK lookup rows to two
  fields instead of constructing a ragged DataFrame
- eia: read EIA workbooks with the calamine engine (xlrd is deprecated);
  replace the xlrd dependency with python-calamine and relock; calamine
  workbooks are not safe for concurrent reads, so the petroleum status
  report serializes its sheet reads with a lock

* imf: fall back to the published catalog when the IMF API is unreachable

imf_cache.json.xz is generated at build time and is not committed, so
every CI build of openbb-imf needed a live api.imf.org. The only fallback
was actions/cache, and caches saved by pull_request runs are scoped to
that PR, so a new PR never had one. With api.imf.org returning
"503 no healthy upstream" during IMF's data portal maintenance window,
the build failed.

When live generation fails on a non-forced build, the hook now copies
imf_cache.json.xz from the latest openbb-imf wheel on PyPI, after
checking the wheel's sha256 against the digest PyPI publishes. Builds
with OPENBB_IMF_FORCE_CACHE_REBUILD=1, which the publish workflow sets,
still fail hard, so a release never ships a stale catalog.

---------

Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-11-01 18:16:45 +00:00
AjayM
7df7d0c559 [BugFix] #7672-Preserve unnamed MultiIndex levels in DataFrame round-trip. (#7762)
* #7672-Fixed DataFrame round-trip issue

* Address review feedback on MultiIndex round trip (#7672)

---------

Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-10-24 07:01:56 +00:00
dlee-bq
3b204c6964 [BugFix] openbb-core: Handle FastAPI 0.155.0 Query json_schema_extra default of None (#7803)
FastAPI 0.155.0 changed the default of Query(...).json_schema_extra from {}
to None. ReferenceGenerator._get_function_signature_info copied that value
and later called .pop() on it, which broke
test_get_function_signature_info_with_query_default and
test_get_function_signature_info_query_default_branch. CI installs the
newest FastAPI because it does not install from uv.lock. Fall back to {},
as the Annotated branch of the same function already does.

Also cover the unclosed-bracket fallbacks in docstring_generator
(_matching_bracket returning -1 and _rewrite_optional_and_union returning
the input unchanged), which no test reached since #7794.

Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-10-24 06:55:55 +00:00
Younes Beriane
86e27341b0 [BugFix] openbb-cli: Make Codegen Names That Start With a Digit or Are Keywords Valid (#7800)
* [BugFix] `openbb-cli`: Prefix Codegen Names That Start With a Digit or Are Keywords

_safe_segment returned names such as "24hr" or "class" unchanged, so the
router generator emitted `async def 24hr(` and unimportable module names.
Prefix them with an underscore (Fixes #7799).

* Suffix keyword segments with an underscore instead of prefixing them
2026-10-24 06:07:36 +00:00
Art Cashin
78020ee4b8 fix(fred): drop the 5-year TIPS maturity that FRED no longer publishes (#7757)
* fix(fred): TIPS yields raise EmptyDataError when nothing is published

When the maturity filter left no series, the fetcher asked FRED for an
empty symbol list, and when no observations came back, melt(id_vars="date")
raised KeyError: 'date' (500). FRED publishes no live 5-year TIPS (every
5-year series in release 72 is marked DISCONTINUED and filtered out), so
maturity=5 always hit this. Both cases now raise EmptyDataError.

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

* fix(fred): drop the 5-year TIPS maturity choice

Address review: FRED no longer publishes a live 5-year TIPS (every 5-year series in release 72 is discontinued), so remove the choice instead of guarding the empty result it produced. The recorded fetcher test now asks for the 10-year maturity, re-recorded against FRED.

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

---------

Co-authored-by: artcashin <artinnj@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
2026-10-18 20:28:40 +00:00
Art Cashin
cbf37e1f98 fix(famafrench): Australia's country portfolio file is Austrlia.Dat (#7758)
The members of F-F_International_Countries.zip (and its _Wout_Div twin)
use eight-character names, and Australia's is Austrlia.Dat, not
Australia.Dat. Every Australia request failed with "not found in available
indexes". The other twenty countries already map to their member names.

Co-authored-by: artcashin <artinnj@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-10-17 23:11:03 +00:00
dlee-bq
7f04334398 - example.py: mark the base Example.scope field frozen so the (#7798)
Literal[api]/Literal[python] subclass overrides are covariant
  read-only narrowings. Subclass fields stay writable at runtime.
- method_definition.py, options_chains.py: pydantic 2.14 types
  FieldInfo.annotation as TypeForm[Any] | None, which ty rejects in
  Union[]/Annotated[] and where  is expected; bind it as Any.
  Use FieldInfo.get_default(call_default_factory=True) instead of
  calling the default_factory union directly.
- economy_views.py: read data/obbject_item without None defaults in the
  IMF shipping views. charting always sets obbject_item, and data is
  only popped when present and not None.- finra, jodi, eia: annotate @asynccontextmanager/@contextmanager
  functions with AsyncGenerator/Generator instead of the deprecated
  AsyncIterator/Iterator return types.
- charting: cast the darts forecast dataset to TimeSeries before
  indexing so .all_values resolves instead of hitting ndarray.
- fred, imf, nasdaq, sec, tmx: turn off invalid-attribute-override and
  invalid-mutable-override for models/** only, following the cboe
  precedent. Provider models extend the standard models by narrowing
  query params to Literals or widening fields to Optional, which these
  rules flag by design.

Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-10-17 20:50:39 +00:00
dlee-bq
d67b32e2f9 update all lock files in the repository (#7797)
Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-10-17 18:44:16 +00:00
dlee-bq
7f49354884 [BugFix] openbb-cboe: Fix cache lock so that concurrent callers in separate processes don't hang (#7796)
* fix cboe's cache lock so that concurrent callers in separate processes don't hang

* fix test coverage and ty check

* more test failure

* more test failure

* more Windows Python 3.10 test failure

* Move lint path filter into a job so required checks always report

lint-openbb-platform.yml used `on.pull_request.paths` to skip PRs that only
touch api/extensions/providers/obbject_extensions. A workflow skipped by a
trigger filter never reports its checks, so the required "General Code
Linting" and "Markdown Linting" checks stayed pending forever on those PRs.

Detect relevant changes in a `changes` job instead and gate the lint jobs with
a job-level `if:`. Skipped jobs report success, so required checks resolve.
The gate fails closed: if detection fails, the lint jobs still run.

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

---------

Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 17:50:40 +00:00
dlee-bq
7c9d4221bd [BugFix] openbb-cli: Fix Detection of Sub-Routes of a Path (#7794)
* fix detection of sub-routes of a path

* ruff fixes

* more lint

---------

Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-10-12 21:17:54 +00:00
Danglewood
ae0268771f [Dependencies] Update Dependencies in Lock Files Across the Repo (#7743)
* update dependencies in lock files across the repo

* fix test cassette
2026-10-02 04:54:02 +00:00
Danglewood
6c292746fe [BugFix] CodeQL: Add Python Config File (#7742)
* add python config file for codeql

* ci: run lint checks for CodeQL changes
2026-10-01 16:08:53 +00:00
Danglewood
bbf1ab2020 V5 (#7489)
* [Feature] OpenBB V5: Initial `openbb-core` Refactor (#7482)

* initial refactor

* ruff does not dictate style

* unresolved imports in test action

* fix general linting

* resolve pandas imports for actions run

* httpx in test workflow

* pytest-asyncio in test workflow

* pandas.Index(...)

* max version for windows CI is 3.14

* remove temp refactor files that shouldn't have been committed:

* use ruff format instead of black

* formatting and typing

* tab space helper

* test fixtures..

* ty check

* also run integration test in CI

* remove that annoying labeler action

* [V5] `openbb-core`: 100% Test Coverage (#7484)

* increase test coverage to exercise 100% of the testable code path in openbb-core

* model_fields syntax cleanup

* set the environment variable for CI runs

* run codeql on v5 branch

* more CI env setup

* cleanup redundant files

* ruff

* dedupe workflow trigger

* some windows coverage missing

* ubuntu integration test job

* more windows coverage

* test_reference_generator

* test_docstring_generator

* remove line no references from test function docstrings

* clean useless comments from test files

* fix polars type check

* fix test_obbject

* fix test_obbject

* package builder fixes

* charting pyproject version

* fix docstring generator for nested models

* missing coverage

* [V5] `openbb-core`: Add Backwards-Compatible Layered Config System (openbb.toml) (#7492)

* add backwards-compatible layered config system

* fix path reference in windows test

* need python version-aware handling in docstring generator

* update for deprecated pydantic syntax

* ruff UP007

* test_system_settings

* remove v4 platform workflow

* [V5] Refactor `openbb-oecd` for full SDMX 2 API Exposure and V5 Packaging (#7413)

* stash some changes

* add more robust testing

* mypy

* point PR at V5

* introduce spec file

* codespell

* test fix

* fix workflow environment setup

* fix workflow environment setup

* fix workflow environment setup

* add pyyaml to dependencies

* split lint jobs

* fix workflow environment setup

* fix workflow environment setup

* workflow env setup

* workflow env setup

* clean up code comments

* add auth hook entrypoints

* codespell

* add codegen feature

* codespell

* move _unpack into dispatchers for consistency with codegen packages

* surface nested models in the response

* fix missing coverage in CI

* socrata updates

* test fix

* detect plotly output

* add --include and --exclude flags from generate-extension command

* refactor openbb-platform-api for V5 operations and spec file handling

* delete poetry.lock

* add test workflow

* add temp branch id for test workflow

* add httpx to dev dependencies

* add a conftest.py

* tweak conftest

* tweak conftest

* python 3.10 issues

* more python 3.10

* more python 3.10

* more python 3.10

* more python 3.10

* fix url template resolution

* multi-spec support

* fix a windows path issue

* merge branch develop

* table builder, integration tests, and more

* linting

* merge branch develop

* bit of cleanup

* some more updates, cleanup, and apps.json

* codespell

* black

* integration test params and linting

* mypy

* pylint

* black

* more pylint

* recapture teest cassettes

* black again

* more linting

* table presentation choices

* black

* fix merge conflict

* split up metadata module and reformat cache to use msgpack

* mypy

* regenerate lock file

* use json and include dependencies to make openbb-oecd a standalone install

* pylint

* more linting

* serve metadata as dependency instead of assign and initialize

* fix integration_tests_testers to not count dependency injections as paramters

* add assets to git ignore

* ruff

* v5 refactor and publish workflow

* test coverage and ty fixes

* codespell

* update lock file

* workflow setup

* ty check

* workflow setup

* Scope PR to OECD changes only

Restore non-OECD files in the diff against v5 to their v5 state. The
branch was originally created off feature/cli-2 and inherited 186 files
of unrelated changes (cli, agent_server, mcp_server, platform_api,
core/, .github/workflows/* not oecd). Those have nothing to do with the
openbb-oecd v5 refactor and were polluting the PR diff.

* scope cleanup: include leaked v5-resident files (general-linting workflow, platform_api test fixtures)

---------

Co-authored-by: deeleeramone <>
Co-authored-by: Copilot <copilot@github.com>

* fix docstring generator and body param unwrapping

* project ty.toml file

* unpack POST parameters from params: Model

* remove comment chatter

* [V5] `openbb-oecd`: Rename `oecd_utils` as `oecd` (#7509)

* rename oecd_utils to oecd and populate all models there when openbb-economy is not installed

* linting

* bump dependencies

* fix test drift

* linter

* FieldInfo import

* [V5] `openbb-imf`: Refactor for V5 (#7508)

* refactor imf extension for V5

* codespell

* fix some python 3.10 items

* return self on copy of metadata object

* [V5] `openbb-news`: Refactor News for V5 and Add Configurable RSS Endpoint (#7507)

* refactor news for v5 and add rss endpoint

* remove poetry.lock

---------

Co-authored-by: deeleeramone <>

* [V5] `openbb-quantitative`: Refactor for V5 (#7506)

* refactor quantitative for v5

* add factors endpoint and add a few charts

---------

Co-authored-by: deeleeramone <>

* [V5] `openbb-technical`:  Refactor for V5 & Add More Quick Win Endpoints (#7502)

* refactor openbb-technical for v5

* forward refs

* linting

* no python 3.15 in test matrix

* reame

* ty

* move all params to body

---------

Co-authored-by: deeleeramone <>

* remove stockgrid provider (#7486)

* [V5] remove wsj provider and related code (#7485)

* remove wsj provider and related code

* purge from metadata

* actions

* actions

* openbb-core publish workflow

* delete biztoc (#7523)

* [V5] Remove `openbb-alpha-vantage` (#7522)

* delete alpha vantage

* more files

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* [V5] Remove `openbb-benzinga` (#7521)

* delete benzinga

* more references

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* [V5] `openbb-bls`: Refactor for V5 + Add Many Endpoints (#7518)

* refactor bls for v5, add 100 widgets

* some CI fixes

* no python 3.15

* fix missing dev group in pyproject.toml

* more pyproject fallout

* action

* refactor econometrics for v5 (#7505)

Co-authored-by: deeleeramone <>

* [V5] `openbb-famafrench`: Refactor for V5 (#7503)

* refactor famafrench for v5

* codespell

* finishing touches

---------

Co-authored-by: deeleeramone <>

* [V5] CLI 2.0 - Pluggable Backends, Non-TTY Default, HTTP Dispatcher, Spec Files + Codegen (#7433)

* stash some changes

* add more robust testing

* mypy

* point PR at V5

* introduce spec file

* codespell

* test fix

* fix workflow environment setup

* fix workflow environment setup

* fix workflow environment setup

* add pyyaml to dependencies

* split lint jobs

* fix workflow environment setup

* fix workflow environment setup

* workflow env setup

* workflow env setup

* clean up code comments

* add auth hook entrypoints

* codespell

* add codegen feature

* codespell

* move _unpack into dispatchers for consistency with codegen packages

* surface nested models in the response

* fix missing coverage in CI

* socrata updates

* test fix

* detect plotly output

* add --include and --exclude flags from generate-extension command

* cap test matrix at python 3.14

* no useless comments

* platform controller command description split

* merge URL overloads from path params

* exclude none and unset from model dump

---------

Co-authored-by: deeleeramone <>
Co-authored-by: Copilot <copilot@github.com>

* general-linting

* downgrade aiohttp in devtools for vcrpy

* some ty items and add requests-types stubs for ty in devtools

* markdown linting

* remove integration tests from extensions that were moved into the famafrench provider

* [V5] `openbb-congress-gov`: Refactor for V5 + Convert To Using Bulk Files Instead of `api.congress.gov`. (#7528)

* refactor congress-gov for v5 and use bulk files instead of API with credentials

* integration tests

* apps tab name

* convert caching to sql

* codespell

* [V5] [BugFix] Fix for Breaking Changes in FastAPI 0.137+ (#7537)

* fix route introspection for fastapi 0.137

* recapture oeccd gdp forecast test cassette

---------

Co-authored-by: deeleeramone <>

* [V5] `openbb-platform-api`: Refactor for V5 Spec, Config, Packaging, Test Coverage (#7494)

* stash some changes

* add more robust testing

* mypy

* point PR at V5

* introduce spec file

* codespell

* test fix

* fix workflow environment setup

* fix workflow environment setup

* fix workflow environment setup

* add pyyaml to dependencies

* split lint jobs

* fix workflow environment setup

* fix workflow environment setup

* workflow env setup

* workflow env setup

* clean up code comments

* add auth hook entrypoints

* codespell

* add codegen feature

* codespell

* move _unpack into dispatchers for consistency with codegen packages

* surface nested models in the response

* fix missing coverage in CI

* socrata updates

* test fix

* detect plotly output

* add --include and --exclude flags from generate-extension command

* refactor openbb-platform-api for V5 operations and spec file handling

* delete poetry.lock

* add test workflow

* add temp branch id for test workflow

* add httpx to dev dependencies

* add a conftest.py

* tweak conftest

* tweak conftest

* python 3.10 issues

* more python 3.10

* more python 3.10

* more python 3.10

* more python 3.10

* fix url template resolution

* multi-spec support

* fix a windows path issue

* cap test matrix at python 3.14

* no 3.15 runners for platform-api

* no useless comments

* platform controller command description split

* merge URL overloads from path params

* exclude none and unset from model dump

* markdown lint

* ignore get/post endpoints that are return SSE

* fix remaining fastapi 0.137 fallout

---------

Co-authored-by: deeleeramone <>
Co-authored-by: Copilot <copilot@github.com>

* add full support for AsyncIterator response type for streaming output (#7530)

* [V5] Refactor Shared Pass Through Router Extensions For Hatchling (#7524)

* refactor shared pass-through routers for hatchling and ruff + ty

* add publish workflows

* [V5] `openbb-charting`: Refactor for V5 and Decouple  (#7545)

* refactor charting for v5 patterns and decouple entirely

* coveragerc

* lint and tests

* fix tests

* configure dev group with openbb-technical

* ty

* fix cli test

* remove 3.15 from test matrix - dependencies are unstable

---------

Co-authored-by: deeleeramone <>

* fix merge widgets

* workflow cleanup"

* fixes for ty

* fogot that file

* general lint setup

* consolidate lint job

* remove seeking alpha provider (#7570)

* remove tradier provider (#7573)

* remove tiingo provider (#7574)

* remove intrinio provider (#7575)

Remove the openbb-intrinio provider extension from the repository.
Reason: proprietary vendor with no internal access to any endpoint;
cannot build, develop or maintain.

* remove yfinance provider from repo (#7576)

* fix(cli): resolve modular OpenAPI references (#7586)

Fixes #7585

* [V5] `openbb-cli`: Modular OpenAPI Refs (#7589)

* follow up to #7585

* add another codegen test

* unused ty ignore

* Update generated tests to get python parameter names instead of raw API-provider parameter names. (#7597)

* Update the record-vs-envelope heuristic in the payload processing code to not treat a record that happens to have a list datatype as an entire envelope. (#7598)

* Update class generation code to handle empty data that php-style serialization emits as []. (#7599)

* fix ty check failures exposed by newer version

* add drugs.com and brutalist as news rss feeds (#7602)

Co-authored-by: deeleeramone <>

* codespell

* missing test coverage that appeared in famafrench..

* plotly 7 handling for mapbox namespace change

* remove finviz (#7577)

* remove trading economics provider (#7578)

* remove openbb-multpl from repository (#7610)

* add httpx2 to devtools for starlette test client

* restore test coverage to 100% in openbb_core

* remove fmp provider extension from repository (#7665)

* unpin ruff

* fix charting conftest and missing coverage in 3.10

* add charting coverage

* fix new ty issues

* fix tag grouping in swagger docs

* [V5] `openbb-ecb`: Refactor for V5 and Expand Coverage (#7560)

* refactor openbb-ecb for v5 and expand coverage

* some updates

* tests

* workflow

* remove 3.15 from test matrix

* some more table schema updates

* remove some html chrome on embedded articles

---------

Co-authored-by: deeleeramone <>

* [V5] `openbb-federal-reserve`: Refactor for V5 + FFIEC & Regional Fed Routers (#7561)

* refactor for v5

* add workflows

* fix bhcpr schema

* fix pyproject.toml

* fix test

* codespell

* ty

* fix pyproject

* fix ci environment

* fix ci environment

* convert documents endpoints to use fedinprint service

* codeql fix

* fix ny publications and add ny nowcast

* [V5] `openbb-eia`: Refactor for V5 + Add Full API Implementation (#7584)

* eia refactor for v5

* add test and publish workflows

* data browser state

* fix workflows

* more workflow test items

* temp files in tests

* more fixes

* more browsers

* fix codeql issues

* fix mer state and ensure multi-user capability

* uv lock

* table bridge

* fix electricity browser state

* convert HTML widgets to iFrame

* fix recursion error in workspace mcp

* [V5] `openbb-government-us`: Refactor for V5 + Move `uscongress` (#7604)

* v5 government_us provider

* workflow files

* ty and add xlrd to pyproject

* shrink test cassettes

* dev dependencies

* wheel packaging and more tests

* python 3.10 thing..?

* fix test

* default state for multiselect dropdowns

* replace congress html widgets with iframes

* fallback to congress api for congress before 108

* ensure member passage voting count populates

* [V5] Feature: Add JODI World Oil & Gas Database (#7593)

* add the JODI oil and gas database as a provider/router extension

* lint fixes

* add grouping to apps.json

---------

Co-authored-by: deeleeramone <>

* [V5] `openbb-cftc`: Refactor for V5 + Add OIS, Forward Curve, and FX Trade Analysis (#7615)

* refactor openbb-cftc for v5

* add SHIBOR to fixings

---------

Co-authored-by: deeleeramone <>

* fix for plotly 7 breaking change to schemas

* [V5] `openbb-tmx`: Refactor extension for V5 (#7668)

* refactor tmx provider for v5

* fix tests..

* fix tests stack trace exposure

* fix workflow setup

* [V5] `openbb-nasdaq`: Refactor provider for V5. (#7670)

* refactor nasdaq provider for v5

* add workflows

* ty fix

* [V5] `openbb-fred`: Refactor as V5 extension. (#7669)

* refactor fred extension for v5

* fix markdown MD037 lint error in README

* codespell

* [V5] `openbb-cboe`: Refactor for V5 + Add Payoff Diagrams (#7617)

* refactor cboe for v5

* use zoneinfo instead

* fix test

* some fixes related to the cache access

* fix a couple of tests

* fix the test coverage

* [V5] `openbb-deribit`: Refactor provider for V5 (#7674)

* refactor openbb-deribit for v5

* restructure the optimizer around the published combos data and add integration test suites

* fix markdown lint errors

* remove openbb-econdb provider (#7675)

* codespell

* [V5] `openbb-sec`: Refactor for V5 (#7525)

* refactor openbb-sec for v5

* linting

* ty

* normalize compare_company_facts

* add workflows

* python 3.10 fix

* add more thorough url validation and tests

* ty check

* ty for python 3.10

* reconfigure with apps

* temp pyproject overrride

* pyproject

* pyproject

* pyproject

* codespell

* pyproject

* fix uk schema file links in schema_files

* test coverage

* test_cli

* port #7547 into this pr

* no hard coded prefix

* improve filing rendering capabilities

* fix xml text detection

* make codeql happy

* missed a file in the commit

* test coverage

* codespell

* fix flakey test

* some updates

* management_ownership --> management_profiles

* proxy statement markdown

* ruff

* fix test coverage

* more tests

* test coverage

* fix lint errors

* Add SEC adviser search, profile, and universe routes (#7559)

* Add SEC institutional data fetchers

* Add SEC filing index and Form D routes

* Add SEC investment adviser people data

* Expose SEC adviser and institutional routes

* fix(sec): address adviser review feedback

* refactor(sec): narrow adviser support to IAPD search

* feat(sec): add adviser firm and individual searches

* feat(sec): add adviser profile drill-down

* fix: repair pre-commit configuration

* feat(sec): add adviser universe route

* feat(sec): expose complete Form ADV data

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>

* fix test coverage

---------

Co-authored-by: deeleeramone <>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>

* [V5] `openbb-finra`:  Refactor for V5 (#7676)

* refactor finra provider for v5

* add workflows

* fix tests

* fix lint errors

* [V5] Update Repository License to Apache 2.0 (#7677)

* change license to Apache 2.0 for V5

* codespell

* bump devtools and repoint pyproject.toml

* Enterprise Flask Migration Toolkit (#7264)

* feat: Add Flask-to-OpenBB enterprise migration toolkit

- Implement Router.from_flask() for zero-touch legacy API conversion
- Enable 4-hour migration vs 6-month traditional rewrite (80% cost reduction)
- Generate FastAPI endpoints from Flask routes with automatic type validation
- Support enterprise consulting services and custom integration workflows

Demonstrates OpenBB's competitive advantage for institutional client migrations.
Complements existing Workspace applications like Open Portfolio suite.

* chore: Resolve .gitignore conflict and add common ignores

* refactor: implement Phase 1 Flask integration architecture- Move Flask conversion logic to openbb_core.app.utils.flask- Add Flask detection to extension_loader - Integrate with OpenBB's core extension system- Add Flask dependency validation with sys.modules checkingAddresses @deeleeramone's architectural feedback for native OpenBB integration.

* docs: add Flask direct entry point demos- demo_direct_flask_entry_point.py: shows direct Flask instance reference- example_pyproject_flask_entry.toml: demonstrates pyproject.toml configurationSupports new architecture eliminating wrapper extensions.

* Implement Phase 1 Flask adapter per code review feedback

- Minimal working implementation with Flask detection and router creation
- Removes complex code generation logic for focused Phase 1 delivery
- Establishes foundation for Phase 2 route conversion features

* Fix Flask integration: Replace missing FlaskToOpenBBAdapter with WSGIMiddleware

- Remove FlaskToOpenBBAdapter which was not implemented
- Use FastAPI's WSGIMiddleware to mount Flask apps directly
- Update extension_loader to use returned Router object
- Convert utils.py to utils/__init__.py to support flask submodule
- Addresses PR review comment about unhandled AttributeError

* Address PR review feedback: fix Flask imports and remove unused files

- Revert .gitignore to upstream/develop
- Remove AI-generated demo/example files and flask_adapter extension
- Move Flask/werkzeug imports inside conditional blocks to avoid ImportError
- Use lazy imports via __getattr__ in utils/flask/__init__.py
- Add Flask tests with @pytest.mark.skipif markers

* Force APIRouter.include_router to propagate Mount paths instead of dropping them. (#1)

This change ensures that mounted ASGI applications (such as Flask apps wrapped in WSGIMiddleware) are not dropped when `APIRouter.include_router` is called.

Previously, while the initial load in `ExtensionLoader` worked as expected, the `Mount` objects were ignored by FastAPI's default inclusion logic. This caused the mounted elements to be lost during the final application assembly, resulting in 404 errors for the Flask routes.

This fix overrides the inclusion logic to manually propagate `Mount` objects downstream.

* feat(flask): Add metadata layer for OpenAPI documentation

Enhance Flask-to-OpenBB converter with structured docstring parsing:
- Parse Google-style docstrings (summary, description, params)
- Extract parameter descriptions from Args section
- Pass metadata to Router.command() for rich OpenAPI docs

This addresses PR feedback to provide tangible benefit by generating
comprehensive API documentation for migrated Flask routes.

* feat(flask): Implement manual OpenAPI spec generation and attachment

- Add FlaskParam and FlaskRouteInfo TypedDict for type-safe metadata
- Implement OpenAPISpecGenerator for Flask→OpenAPI conversion
- Extract route metadata via FlaskIntrospector
- Attach generated spec to router.openbb_openapi_spec_ext
- Add unit tests (3/3 passing)

Addresses WSGI/mount boundary issue where Router.command metadata
cannot propagate through WSGIMiddleware. Spec attached to router
instance for downstream OpenAPI assembly.

Resolves maintainer feedback on PR #7264

* feat(flask): Implement FlaskMountRegistry for multiple mount support

- Add FlaskMountRegistry class for centralized OpenAPI spec management
- Replace router.openbb_openapi_spec_ext with registry pattern
- Support multiple Flask apps at different mount prefixes
- Automatic path rewriting in aggregated OpenAPI specs
- Add registry test case (4/4 tests passing)

Addresses @deeleeramone's feedback on PR #7264 regarding router
attribute fragility and multiple mount support. Registry provides
lifecycle-independent state management and enables enterprise
scenarios with multiple Flask apps.

Resolves: OpenBB-finance/OpenBB#7264 (partial)

* feat(core): load Flask apps as openbb_core_extension WSGI sub-apps

A Flask app referenced directly by an openbb_core_extension entry point is
mounted via WSGIMiddleware and its routes are introspected into openapi.json
(operationId/widgetId/mcp_tool, parameters, request bodies, security, widget_config
and HTML widgets) so the widget factory and MCP server can discover them.

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

* test(core): 100% coverage for flask utils + flask dev dependency

Add branch-coverage tests for the Flask integration package (introspection,
AST analysis, docstrings, OpenAPI generation, registry, loader, detection) and
declare flask as a dev dependency so the suite runs in CI.

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

* fix(flask): treat f-string returns as HTML responses

* fix(flask): mount via a2wsgi instead of deprecated starlette WSGIMiddleware

- add openbb-core[flask] extra (flask, a2wsgi); a2wsgi resolved through require_optional
- run the WSGI serve test through mount_flask_extensions; drop httpx importorskip
- core CI installs [pandas,flask] and httpx2

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

* test(flask): cover failed entry point loads; narrow optional types for ty

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

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: deeleeramone <>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* perf(core): vectorize the date conversion in `basemodel_to_df` (#7622)

* perf(core): vectorize the date conversion in basemodel_to_df

basemodel_to_df ran three per-element Python passes over the date column of
every payload it converted. Series.apply(to_datetime) calls pandas.to_datetime
once per row, and because each call receives a lone scalar with no format hint,
pandas also re-runs its datetime format guesser on every row.

Parse the column in one call instead, and use vectorized comparisons for the
all-midnight test and the reduction to datetime.date.

The element-wise parse is kept as a fallback for one case that the vectorized
path cannot represent: a column mixing UTC offsets, such as a series crossing a
daylight-savings boundary. Parsing per element lets each value keep its own
offset and yields an object column of tz-aware Timestamps, whereas a single
to_datetime call over that column raises "Mixed timezones detected". That
behaviour is covered by test_to_df_daylight_savings and is preserved exactly.

Measured on a payload built through EquityHistoricalData, median of 9 under an
exclusive CPU lock:

  250 daily bars     8.92 ms -> 1.46 ms
  1,000 daily bars  32.93 ms -> 3.13 ms
  5,000 daily bars 162.25 ms -> 12.23 ms

* fix a broken test - unrelated to this PR...

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: deeleeramone <>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* fix lint errors

* fix oecd lint error

* [V5] `openbb-mcp-server`: Refactor for v5 - Spec, Config, Packaging, Test Coverage (#7495)

* stash some changes

* add more robust testing

* mypy

* point PR at V5

* introduce spec file

* codespell

* test fix

* fix workflow environment setup

* fix workflow environment setup

* fix workflow environment setup

* add pyyaml to dependencies

* split lint jobs

* fix workflow environment setup

* fix workflow environment setup

* workflow env setup

* workflow env setup

* clean up code comments

* add auth hook entrypoints

* codespell

* add codegen feature

* codespell

* move _unpack into dispatchers for consistency with codegen packages

* surface nested models in the response

* fix missing coverage in CI

* socrata updates

* test fix

* detect plotly output

* add --include and --exclude flags from generate-extension command

* refactor mcp server for v5

* test action

* fix tests

* tests

* test fixture name

* revert: drop unrelated provider/README changes from mcp-server refactor

Strip the changes to ``README.md`` and ``openbb_platform/providers/{imf,
tradingeconomics,yfinance}`` that snuck into 4ac3602 (refactor mcp server
for v5). Those files are out of scope for the mcp-server work and were
modified inadvertently — restore them to their pre-4ac3602 state.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* tests and workflows

* fix workflow

* tests and workflows

* tests and workflows

* tests and workflows

* tests and workflows

* beartype shim for 3.15

* muck around with beartype for 3.15

* muck around with beartype for 3.15

* no 3.15 runners for mcp-server

* update skill files

* cap test matrix at python 3.14

* merge branch v5

* no useless comments

* platform controller command description split

* merge URL overloads from path params

* exclude none and unset from model dump

* refactor for fastmcp4

* wrap markdown lines that are too long

---------

Co-authored-by: deeleeramone <>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* update pre-commit, noxfile, and uv locks

* fixes for docstring generation

* test coverage

* fix cli renderer helper with figure object JSON

* fix the figure font when rendered

* refactor cookiecutter

* bump cookiecutter packagge version

* fix sec test by adding fixture

* fix desktop environments test

* fix(cli): inherit path-item-level OpenAPI parameters (#7606)

* fix(cli): inherit path-item-level OpenAPI parameters

OpenAPI 3.x lets a Path Item Object declare `parameters` shared by every
operation under that path, with operation-level entries overriding them by
(name, in). The codegen read only `op.get("parameters")`, so inherited
parameters were dropped silently — the generated command kept the URL
template but had nothing registered to fill it.

Real-world impact: the Xero Accounting API declares its required
`xero-tenant-id` header once per path item across all 138 paths. Before this
change `build_command_spec` produced 78 commands and none carried the
header, so every generated command 403s. Nothing warned.

Adds `operation_parameters()`, which merges the two levels and dereferences
both, and routes the pre-computed spec path (`build_command_spec`) and the
interactive path (`build_command_index` -> `build_parser_from_operation`)
through it. Unresolvable refs, non-dict entries, and nameless parameters are
skipped as before. Specs without path-item parameters are unaffected.

* fix(cli): narrow path-item inheritance to path and query parameters

Per review: headers do not translate into a Python interface function, and
outbound headers are transport configuration
(SystemSettings.PythonSettings.http.headers, the CLI's -H) or a security-scheme
concern — not a per-command argument.

Path-item `in: header` and `in: cookie` entries are now dropped rather than
inherited. Operation-level parameters are untouched, so an operation that
declares its own header keeps today's behavior.

Scope is now only what cannot be supplied any other way: `in: path` and
`in: query` parameters declared on the Path Item Object.

* fix(cli): merge allOf compositions in response schemas

Response-schema $refs were already expanded by deref_schema, but a schema
whose top level is an allOf composition was left unflattened. The properties
live inside the members, so a consumer reading them off the composition finds
none. fetcher_gen._data_schema looks for `properties.results`, gets nothing,
and falls through to _unwrap_schema_envelopes, which handles oneOf and anyOf
but not allOf. The generated Data model ends up with no fields.

Codat's listBills response is `allOf: [{properties: {results}}, {properties:
{_links, pageNumber, pageSize, totalResults}}]`, which produced an empty model.

merge_allof collapses a composition of object subschemas into one object
schema: properties unioned with the first declaration winning on conflict,
required unioned, and sibling keywords on the allOf node outranking members.
A composition that is not a plain intersection of object subschemas (a member
carrying its own oneOf/anyOf, or a non-object type) is returned unchanged
rather than flattened into something the spec does not describe. Nested
compositions are merged too, so a $ref inside a merged member still resolves.

Applied to extract_response_schema and extract_response_schemas.

Measured across five specs that use the pattern, counting operations whose
response schema exposes readable properties: 244 of 588 before, 394 after
(Codat Accounting 36 to 88, Codat Banking 0 to 8, Codat Commerce 1 to 11,
Rebilly 62 to 104, Box 145 to 183).

* fix(cli): merge allOf compositions in request body schemas

Same gap as the response side. request_body_parameters needs `type: object`
or `properties` to flatten a body into parameters, and an allOf composition
carries neither, so a POST or PUT generated from one gets no body parameters
at all.

extract_request_body_schema now runs merge_allof after deref_schema, matching
extract_response_schema.

Across the same five specs, counting request bodies that produce parameters:
138 of 206 before, 177 after (Codat Accounting 1 to 26 of its 30 bodies,
Rebilly 50 to 63, Box 87 to 88).

* fix(cli): stop annotation keywords blocking an allOf merge

_mergeable_allof_members required every member's keys to come from a small
whitelist, so any unrecognized keyword disqualified the whole composition.
Codat's PagingInfo carries `definitions` next to its properties, which meant
the live Codat-Accounting.yaml never merged and its response models stayed
empty. The APIs.guru copy of the same API omits that key, which is why the
earlier measurements looked clean.

The check is now a blocklist. A member blocks the merge when it carries its
own combinator (oneOf/anyOf/allOf/not), an unresolved $ref left by a cycle,
a scalar or array constraint (enum/const/items), or a type other than object.
Annotation keywords that do not affect the intersection (title, description,
examples, definitions, additionalProperties, vendor x- keys) no longer block
it, and are dropped from the merged result along with the members.

On the live Codat spec, operations whose response schema exposes readable
properties go from 36 of 127 to 114. Across the five specs measured earlier:
244 of 588 before, 488 after (was 394 under the whitelist).

Corpus check over 2,816 response and request-body extractions in 6 specs:
567 changed, every one attributable to an allOf in the pre-merge output,
0 unexplained. Twilio declares no allOf compositions and is unchanged.

* fix(cli): emit a name once when it is both a parameter and a body property

_signature_params appended request-body properties and then operation
parameters without deduplicating, so a name declared in both places produced
two function parameters with the same name and the generated module raised
SyntaxError.

Codat's push endpoints hit this: /push/bankAccounts/{accountId}/bankTransactions
declares accountId as a path parameter and repeats it in the request body, so
connections.push.bankAccounts.bankTransactions generated `accountId: str` and
`accountId: str = None` in one signature.

The operation parameter wins, since it carries the path placeholder and its own
required flag. The request payload is unchanged: _render_body_block derives body
fields from request_body_schema rather than from this list, so accountId is
still sent in the body.

This predates the path-item and allOf work in this PR. On origin/v5 the same
spec produces the same duplicate; on this branch the Codat spec generates 91
commands with 0 duplicated signatures, down from 1.

* fix(cli): use the safe identifier for keyword-named body properties

_render_body_block already writes `{'from': from_}`, keying the payload by the
wire name and reading a safe identifier, but _signature_params declared the raw
name. A body property named after a Python keyword therefore emitted
`from: str = None` and the generated module raised SyntaxError.

This did not fire before the allOf work in this PR, because a composed request
body produced no body parameters at all. Codat's Transfer body is such a
composition and has a `from` property, so connections.push.transfers started
generating invalid syntax once the body flattened.

_signature_params now emits safe_field_name(name)[0], the same helper
fetcher_gen and pydantic_gen already use. The body/query split in
_render_body_block compares against the safe names too: it previously matched
signature names against wire names, so `from_` was not recognized as a body
field and leaked into the query string as a `from_` parameter.

End to end on Codat-Accounting.yaml, generating the full extension and byte
compiling every emitted module: 136 files, 0 failures. origin/v5 emits 1 file
that does not compile (duplicate argument 'accountId').

Known gap left alone: an operation parameter named after a keyword would still
break, since the query and path lines use the raw name as a local variable.
None of the five specs checked declares one.

* fix(cli): do not treat instance data as schema, and sanitize POST identifiers

Two defects found by generating extensions from real specs and byte compiling
every emitted module.

merge_allof and deref_schema walked every value in a schema dict, including
keywords that hold instance data rather than subschemas. A `default` of
`{"allOf": [{"a": 1}, {"b": 2}]}` was rewritten to `{"type": "object"}`, and a
`$ref` key inside an example was resolved as if it were a reference. Both now
copy `default`, `example`, `examples`, `enum`, `const` and vendor `x-` values
through untouched.

_signature_params emitted operation parameter names verbatim, so a wire name
that is not a Python identifier produced invalid syntax. Rebilly declares an
`Organization-Id` header and a `REB-APIKEY` security header, which emitted
`REB-APIKEY: str = None`. It now uses safe_field_name, matching fetcher_gen,
and _render_body_block keys the query dict by the wire name while reading the
safe identifier so the request is unchanged.

This surfaced through the allOf work rather than being caused by it: a composed
request body used to yield no properties, so `has_body` was false in
package_gen and the command was generated as a GET fetcher, where identifiers
were already sanitized. With bodies flattening, 14 of Codat's 24 POST endpoints
correctly move to the POST path, which had never been exercised by these specs.

Generating the full extension and compiling every module:

  Codat-Accounting.yaml   v5: 1 failure    branch: 0   (136 files)
  Rebilly 2.1             v5: 14 failures  branch: 1   (97 files)

The one remaining Rebilly failure is `async def 3dsecure(` in the router, which
fails identically on v5. Sanitizing that is a naming decision about the command
surface, so it is left alone here.

Known gap: a non-credential header parameter is still placed in the query
string on the POST path. Pre-existing, and unchanged by this PR.

* fix(cli): resolve signature collisions on the emitted identifier

The previous dedupe compared wire names, but the failure it prevents depends on
the sanitized identifier. Two wire names can collapse onto one (`from` and
`from_`, `Organization-Id` and `Organization_Id`), and operation_parameters
keeps a name declared twice under different `in` locations by design, so both
cases could still emit a duplicate argument.

_signature_params now tracks the identifiers it has emitted and skips anything
that would repeat one. Emission order is unchanged, so existing signatures are
byte-identical; only genuinely colliding names are dropped, and operation
parameters still win over body properties.

Neither collision occurs in Codat-Accounting.yaml or Rebilly 2.1. This closes
the class rather than the instance, since the instances are what this PR has
been finding.

Generation unchanged: Codat 136 files 0 failures, Rebilly 97 files 1 failure
(`async def 3dsecure(`, identical on v5).

* test(cli): cover the instance-data guard, and drop a redundant branch

Mutation checking the new tests (revert each fix, confirm its test fails)
found two problems with the previous commits.

The guard that stops merge_allof and deref_schema from walking into `default`,
`example`, `enum`, `const` and vendor values shipped with no test at all. It is
now covered from both directions: a default holding an `allOf` key keeps its
value, and a `$ref` inside a default stays a literal while a real reference
beside it still resolves.

The body-property loop also carried a redundant check. It tested the raw wire
name against the operation parameter names before testing the sanitized one,
but `operation_param_names` holds both forms and `safe_field_name` is idempotent
on identifiers, so the first test could never fire alone. Reverting it left
every test passing, which is what surfaced it. Removed, and the sanitized name
is now computed once.

All nine mutations are caught by the suite: both data guards, the allOf
blocklist in each direction, the response merge wiring, body/parameter
precedence, the keyword identifier, the body/query split and the
emitted-identifier dedupe.

cli/tests at 1,954 passed against the same 80 environment failures as the base.
Generation unchanged: Codat 136 files 0 failures, Rebilly 97 files 1 failure.

* fix(cli): route required path-item headers/cookies through credential handling

* fix(cli): narrow Popen.stdin/stdout for ty in run_in_obb fixture

---------

Co-authored-by: deeleeramone <>

* fix warnings raised by federal_reserve on some xlsx workbook parsing

* fix publish workflows

* test publish pipeline with openbb-core-v2.0.0rc0 (#7681)

* fix publish workflows with missing tag job, some tests and bump fastapi

* fix python 3.10 test failure in core

* actually fix python 3.10 test failure in core

* deincrement openbb-core version to allow release pattern

* bump core version (#7682)

* remove uv.sources from pyproject.toml files and point to openbb-core-2.0.0 on PyPI

* remove oecd cache asset that wasn't supposed to be commuitted

* remove poetry.lock, update pyproject.tml and uv.lock for openbb-platform-api-v2.0.0 (#7684)

Co-authored-by: deeleeramone <>

* add the missing publish-openbb-platform-api.yml workflow file

* remove poetry.lock, update pyproject.tml and uv.lock for openbb-platform-api-v2.0.0 (#7685)

Co-authored-by: deeleeramone <>

* fix the tag generation after publish

* [Release] `openbb-charting-v4.0.0` (#7686)

* up openbb-charting to 4.0.0 and fill missing test coverage in chart_style

* test coverage and format markdown files

---------

Co-authored-by: deeleeramone <>

* remove scikit-learn from dependencies, update tests, and format markdown files (#7687)

Co-authored-by: deeleeramone <>

* [Release] `openbb-cli-v2.0.0` (#7692)

* fix missing test coverage in openbb_cli

* fix conftest

---------

Co-authored-by: deeleeramone <>

* add missing publish-openbb-cli.yml workflow

* [Release] `openbb-cli-v2.0.0` (#7693)

* fix missing test coverage in openbb_cli

* fix conftest

---------

Co-authored-by: deeleeramone <>

* test fixes for cli...

* [Release] `openbb-cli-v.2.0.0` (#7694)

* fix missing test coverage in openbb_cli

* fix conftest

---------

Co-authored-by: deeleeramone <>

* fix hanging mcp server test

* [Release] `openbb-mcp-server-v2.0.0` (#7695)

Co-authored-by: deeleeramone <>

* update uv.lock (#7696)

Co-authored-by: deeleeramone <>

* release openbb-commodity-v2.0.0 (#7697)

Co-authored-by: deeleeramone <>

* update uv.lock (#7698)

Co-authored-by: deeleeramone <>

* update uv.lock (#7699)

Co-authored-by: deeleeramone <>

* update uv.lock (#7700)

Co-authored-by: deeleeramone <>

* [Release] `openbb-econometrics-v2.0.0` (#7701)

* update uv.lock

* update pyproject.toml

---------

Co-authored-by: deeleeramone <>

* update uv.lock (#7703)

Co-authored-by: deeleeramone <>

* update uv.lock (#7702)

Co-authored-by: deeleeramone <>

* update uv.lock (#7704)

Co-authored-by: deeleeramone <>

* update uv.lock (#7705)

Co-authored-by: deeleeramone <>

* update uv.lock (#7706)

Co-authored-by: deeleeramone <>

* [V5] Fix a Number of V5 Bugs (#7707)

* fix a number of v5 bugs

* fix lint error

* more lint

* fixes for quantitative, technical, charting, famafrench for version bumps

---------

Co-authored-by: deeleeramone <>

* update uv.lock (#7709)

Co-authored-by: deeleeramone <>

* update uv.lock (#7708)

Co-authored-by: deeleeramone <>

* update uv.lock (#7710)

Co-authored-by: deeleeramone <>

* update uv.lock (#7711)

Co-authored-by: deeleeramone <>

* [Release] `openbb-cboe-v2.0.0` (#7713)

Co-authored-by: deeleeramone <>

* update uv.lock (#7714)

Co-authored-by: deeleeramone <>

* update uv.lock (#7717)

Co-authored-by: deeleeramone <>

* [Release] `openbb-ecb-v2.0.0` (#7715)

* update uv.lock

* update uv.lock

---------

Co-authored-by: deeleeramone <>

* update uv.lock (#7718)

Co-authored-by: deeleeramone <>

* update uv.lock (#7719)

Co-authored-by: deeleeramone <>

* update uv.lock (#7720)

Co-authored-by: deeleeramone <>

* add missing publish-openbb-fred.yml to repo

* update uv.lock (#7723)

Co-authored-by: deeleeramone <>

* update uv.lock (#7722)

Co-authored-by: deeleeramone <>

* update uv.lock (#7716)

Co-authored-by: deeleeramone <>

* update uv.lock (#7724)

Co-authored-by: deeleeramone <>

* update uv.lock (#7726)

Co-authored-by: deeleeramone <>

* [Release] `openbb-fred-v2.0.0` (#7725)

* update uv.lock

* fix tests and dependencies

* fix test_fred_fetchers

---------

Co-authored-by: deeleeramone <>

* [Release] `openbb-imf-v3.0.0` (#7727)

* update uv.lock

* fix tests and dependencies

* fix test_fred_fetchers

* bump openbb-imf version to 3.0.0

---------

Co-authored-by: deeleeramone <>

* update uv.lock (#7729)

Co-authored-by: deeleeramone <>

* update uv.lock (#7728)

Co-authored-by: deeleeramone <>

* update uv.lock (#7730)

Co-authored-by: deeleeramone <>

* update uv.lock (#7731)

Co-authored-by: deeleeramone <>

* update uv.lock (#7732)

Co-authored-by: deeleeramone <>

* update uv.lock (#7733)

Co-authored-by: deeleeramone <>

* cookiecutter pyproject and lock

* update pyproject.toml (#7734)

Co-authored-by: deeleeramone <>

* update pyproject.toml (#7735)

Co-authored-by: deeleeramone <>

* update uv.lock (#7736)

Co-authored-by: deeleeramone <>

* fix some sec issues, allegedly (#7737)

Co-authored-by: deeleeramone <>

* update uv.lock (#7738)

Co-authored-by: deeleeramone <>

* update main pyproject.toml

* lint fixes

* update assets (#7739)

Co-authored-by: deeleeramone <>

* [Release] `openbb-v5.0.0` (#7740)

* update assets

* add missing workflow

---------

Co-authored-by: deeleeramone <>

---------

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: deeleeramone <>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Dex <i@dex.moe>
Co-authored-by: Monte Hoover <monte.b.hoover@gmail.com>
Co-authored-by: Boris Li <65254053+BorisQuanLi@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Lucas Zimmermann <lucaszmayer@gmail.com>
2026-09-29 14:45:53 +00:00
Sanjay Santhanam
3e071fcc2c fix(mcp): support stdio transport on Windows (#7596)
Windows asyncio event loops do not implement add_signal_handler, causing the stdio server to exit before serving requests. Treat signal registration as optional and cover the unsupported-loop path with a regression test.
2026-07-20 17:45:28 +00:00
Danglewood
ebee248ed0 fix a linting error in the desktop code introduced by a newer version of Clippy - useless_borrows_in_formatting (#7590) 2026-07-16 15:44:01 +00:00
Danglewood
c78488d7d1 [BugFix] openbb-sec: Handle XOM's CIK Transition (#7588)
* add handling for XOM's new CIK and populating results including the legacy

* update a couple of lock files for dependabot
2026-07-14 19:49:56 +00:00
Chimdumebi Nebolisa
1c74893140 docs: fix apps.json provider docstrings (#7568)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-07-08 16:21:29 +00:00
Danglewood
1f1ebdd535 [BugFix] openbb-sec: Fix IFRS Mapping in Financials Template (Provision for Loans/Credit Losses) (#7572)
* fix IFRS financial template to catch new provisions for credit/loans tags and correct the order of items in the income statement

* cash flow shuffle

* version bump

* move none check up in detect block

* black
2026-07-06 16:44:51 +00:00
Dhruv
52a446cba0 fix(platform): resolve openbb and openbb-core packaging file conflict (#7563)
Co-authored-by: dhruvv16-hash <200462256+dhruvv16-hash@users.noreply.github.com>
2026-07-04 03:27:35 +00:00
Danglewood
1a7cb61e22 update lok files for devtools, charting, and desktop (#7553) 2026-06-25 14:14:01 +00:00
Danglewood
f6ad868abd fix app startup event (#7554) 2026-06-24 20:48:42 +00:00
Danglewood
3160a84ad0 [Release] openbb-core: Pin Version of FastAPI to 0.136.3 (#7531)
* bump minimum version of fastapi to get starlette > 1

* fix test fixture broken by newer version of vitest

* another round of lock file syncs

* need to pin fastapi until breaking changes in 0.137 can be dealt with

* relock cli

* cli needs to run openbb-build before running test suite

* wrong solution, cli needs fastapi pin until handled. revert nox
2026-06-24 15:27:50 +00:00
Danglewood
f04f2fc71f fix nasdaq app startup event for newer version of fastapi (#7532) 2026-06-23 07:40:47 +00:00
Danglewood
d0acbd22f7 [BugFix] openbb-sec: Fix Period Detection in 40-F Filers That Only Tag 6-K in XBRL Facts (#7547)
* fix period detection in 40-F filers that only tag 6-K in XBRL

* clean up comment

* black
2026-06-23 07:38:55 +00:00