Commit Graph

6893 Commits

Author SHA1 Message Date
Danglewood
68b11efc69 Merge branch 'develop' into feature/refactor-oecd 2026-04-23 16:49:22 -07:00
Danglewood
a08d5d75d0 [BugFix] Update openssl in cargo.toml and Remove dll and dylibs From Repo (#7478)
* update openssl in cargo.toml, and remove dll and dylibs from repo

* cargo fmt

* cargo clippy

* cargo fmt again

* unused-mut

* adjust build.rs for test container

* windows runner setup

* fix masos linking

* same treatment for sbom files
ODP Open-Data-Platform-v1.0.2 odp
2026-04-23 21:46:03 +00:00
Danglewood
ef0b9cfc80 [Feature] Delete frontend-components (#7436)
* delete frontend-components

* lint

* lint

* lint

* black

* black

* lint

* fix a test

* some touchups

* readme updates

* codespell

* linters

* classVar

* cli pyproject and lock
2026-04-23 00:53:44 +00:00
Danglewood
5d02dd76a3 Merge branch 'develop' into feature/refactor-oecd 2026-04-20 15:45:04 -07:00
Danglewood
9eca7b9f23 [Enhancement] openbb-cftc: Improve CFTC Endpoints and Make a Standalone Workspace App For COT Data (#7449)
* improve cftc endpoints and make a standalone workspace app

* mypy

* forgot  couple of files to commit

* test params

* integration test param name

* fix sec-sic-search

* fill some contracts missing category and subcategory, add a workspace workchoices endpoint

* linter

* integration test for cot_choices
2026-04-20 22:36:41 +00:00
Danglewood
fba38fcfa5 merge branch develop 2026-04-20 15:33:22 -07:00
Danglewood
a14208947e [Feature] openbb-cookiecutter: Enrich Input Arguments to Filter by Extension Type (#7432)
* enhance cookiecutter input to filter by extension type and only generate what was selected

* missed a file

* pyproject and lock
2026-04-20 21:50:46 +00:00
Danglewood
203f62e7d2 add clear logs button to logs windows (#7429) 2026-04-19 05:31:45 +00:00
Danglewood
840477018e ruff 2026-04-18 14:41:43 -07:00
Danglewood
4996c76002 merge branch develop 2026-04-18 14:03:28 -07:00
Danglewood
207c24a466 [BugFix] Bump python-multipart and Fix yfinance Property (#7476)
* bump python-multipart and fix yfinance property

* remove file that wasn't supposed to be added to commit
2026-04-18 07:30:28 +00:00
Shreyansh
319657a74c fix(core): purge partially generated assets on build failure (#7462)
* fix(core): purge partially generated assets on build failure

* feat(core): enhance build error reporting with traceback and user instructions

* feat(core): handle interruptions and SIGTERM during build to ensure asset purge

* fix mypy

* temp pylint disable

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-04-17 23:29:58 +00:00
Danglewood
2224a9d091 add assets to git ignore 2026-04-14 13:01:36 -07:00
Theodore Aptekarev
a62ba29408 Merge branch 'develop' into feature/refactor-oecd 2026-04-14 21:08:33 +03:00
Danglewood
8cc70fa1c8 bump pytest version in devtools (#7471) 2026-04-14 15:37:49 +00:00
Danglewood
1e09cfc765 Merge branch 'develop' into feature/refactor-oecd 2026-04-13 21:02:25 -07:00
Danglewood
af11bfa5d3 fix for change in response type for date column (#7470) 2026-04-14 00:12:50 +00:00
Danglewood
fb7d208f26 Merge branch 'develop' into feature/refactor-oecd 2026-04-13 14:40:53 -07:00
Danglewood
1b30777806 [Security] Update Repository Lock Files (#7464)
* update repository lock files

* sync tauri plugin versions

* npm update from windows machine

---------

Co-authored-by: deeleeramone <>
2026-04-13 17:20:04 +00:00
Danglewood
ef8888ae0e fix integration_tests_testers to not count dependency injections as paramters 2026-04-13 09:18:11 -07:00
Danglewood
d6cc133831 serve metadata as dependency instead of assign and initialize 2026-04-10 12:14:48 -07:00
Danglewood
40df8f6ea8 more linting 2026-04-10 10:55:16 -07:00
Danglewood
7b443412be pylint 2026-04-10 10:49:55 -07:00
Danglewood
c55c4ff1a3 use json and include dependencies to make openbb-oecd a standalone install 2026-04-10 09:53:49 -07:00
Danglewood
f7c93fe0db regenerate lock file 2026-04-10 09:18:28 -07:00
Danglewood
9699f98fb7 mypy 2026-04-10 09:17:40 -07:00
Danglewood
05822434b4 split up metadata module and reformat cache to use msgpack 2026-04-10 09:11:33 -07:00
Danglewood
2f39fe1931 Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBB into pr/deeleeramone/7413 2026-04-07 13:12:09 -07:00
Shreyansh
7b7f012aa9 fix(finra): use persistent session to prevent TooManyRedirects (#7443)
* fix(finra): use persistent session to prevent TooManyRedirects

Resolves #6972.

The FINRA OTC data fetching functions (get_finra_weeks, get_finra_data,
get_full_data) previously created new HTTP sessions for each request.
When making dozens of sequential API calls to aggregate weekly data,
this caused Cloudflare's bot protection on api.finra.org to trigger
redirect loops, resulting in a TooManyRedirects error.

Changes:
- Refactored get_finra_weeks and get_finra_data to accept an optional
  session parameter via kwargs.
- Updated get_full_data to create a single requests.Session and perform
  a pre-flight GET to finra.org to establish Cloudflare cookies before
  making API calls.
- The session is reused across all requests within a single data fetch
  operation, preventing the redirect loop.
- Removed hardcoded User-Agent from get_finra_data in favor of the
  platform's standard user agent set by get_requests_session.
- Increased timeout for weeklyDownloadDetails from 3s to 20s for
  consistency and reliability.

* Apply Black Formatting

* perf(finra): use async requests for concurrent weekly data fetching

Addresses reviewer feedback on PR #7443.

The get_full_data function previously made up to 52 sequential POST
requests to fetch weekly OTC data, resulting in poor performance.

This commit adds async equivalents (aget_finra_weeks, aget_finra_data,
aget_full_data) that use the platform's amake_request utility and
asyncio.gather to fetch all weeks concurrently through a shared
aiohttp session.

The FinraOTCAggregateFetcher now uses aextract_data, which is natively
supported by the platform's Fetcher base class.

The pre-flight GET to finra.org for Cloudflare cookie establishment
is preserved in the async path.

* fix(finra): return all rows from data fetching instead of just the first one

* run black, add symbol field to data model, and recapture test cassette

* mypy

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-04-07 19:50:43 +00:00
Danglewood
0ce55ac1c7 Merge branch 'develop' into feature/refactor-oecd 2026-04-07 10:12:59 -07:00
Danglewood
b99f9dc6f3 [Feature] openbb-congress-gov: Add Amendments and Committee Documents Endpoints (#7428)
* add amendments and committees endpoints to congress_gov and migrate all items into the parent congress_gov folder

* codespell

* fix tests

* no-redef

* linting
2026-04-07 10:21:41 +00:00
Danglewood
1f6dc22061 [BugFix] openbb-imf: Fix Base URL for obb.economy.shipping.port_volume (#7456)
* fix base URL for IMF Port Volume

* bump version
2026-04-06 04:33:53 +00:00
Danglewood
3c3bc714b0 Merge branch 'develop' into feature/refactor-oecd 2026-04-04 13:24:47 -07:00
dagecko
3d417d38d4 fix: pin 19 unpinned action(s),extract 2 unsafe expression(s) to env vars (#7435)
* fix: pin 19 unpinned action(s),extract 2 unsafe expression(s) to env vars

* fix: correct SHA pins for rust-toolchain and esigner-codesign

* fix: correct SHA pins for rust-toolchain and esigner-codesign

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-04-04 00:26:52 +00:00
Danglewood
3eac753187 Merge branch 'develop' into feature/refactor-oecd 2026-04-03 07:39:22 -07:00
Theodore Aptekarev
18d1696243 Flip default tool discovery setting to disabled (#7452) 2026-04-03 05:39:20 +00:00
Danglewood
b6e05bab02 [BugFix] openbb-mcp-server: Fix Test Fixtures for Compatibility With FastMCP >=3.2.0 (#7448)
* fix mcp_server test fixtures for fastmcp>=3.2.0

* formatting

* bump minimum version for cve
2026-04-02 17:07:22 +00:00
Danglewood
12d690fd01 Merge branch 'develop' into feature/refactor-oecd 2026-04-01 09:00:31 -07:00
Jason
4a594d0258 fix(sec): handle unexpected SEC API responses in cik_map (#7441)
* fix(sec): handle unexpected SEC API responses in cik_map and get_all_companies

Fixes #7097

The cik_map command throws 'ValueError: If using all scalar values,
you must pass an index' when the SEC API returns an unexpected response
format (e.g., flat dict instead of nested dict of dicts).

Changes:
- get_all_companies: validate response before DataFrame creation,
  use from_dict(orient='index') instead of DataFrame().transpose(),
  check column count matches expected fields
- cik_map fetcher: raise proper OpenBBError when symbol not found
  instead of returning empty dict that passes truthiness checks

* run black

---------

Co-authored-by: JasonOA888 <JasonOA888@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-04-01 05:11:25 +00:00
Danglewood
89a5033cd2 Merge branch 'develop' into feature/refactor-oecd 2026-03-31 20:56:38 -07:00
Danglewood
5d0898b189 [Security] Bump Requests Version and Update Repository Lock Files (#7447)
* bump requests version and update repository lock files

* desktop locks are not in scope

* desktop packages are not in scope
2026-03-31 20:46:08 +00:00
Danglewood
b1a54b2608 Merge branch 'develop' into feature/refactor-oecd 2026-03-30 14:34:51 -07:00
Danglewood
8f6cde60ce fix broken fomc image link in apps.json (#7431) 2026-03-30 08:55:12 +00:00
Danglewood
5b2d300d8b resolve widget definition warning in Workspace for imf_utils.presentation_table (#7430) 2026-03-30 08:54:44 +00:00
Danglewood
254f70b0d1 Merge branch 'develop' into feature/refactor-oecd 2026-03-24 14:14:12 -07:00
Danglewood
4a36d90f4b [BugFix] openbb-core: Fix Package Builder In no_validate Path & Handle Lazy Annotations (#7423)
* fix unresolved string annotations in no_validate path

* add regression test

* bump and regenerate locks

---------

Co-authored-by: deeleeramone <>
2026-03-24 17:50:13 +00:00
Andrew Barnes
ff7500065b test: add coverage for CLI utility functions (#7422)
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-03-24 16:47:01 +00:00
Danglewood
b2de1323b5 Merge branch 'develop' into feature/refactor-oecd 2026-03-22 13:06:53 -07:00
John Seong
86ec79d75f [BugFix] CLI parser splits comma-separated flag values into separate args (#7420)
* fix: preserve comma-separated values for flagged CLI arguments

The CLI argument parser was splitting all comma-separated values into
separate positional args before argparse could process them. This caused
multi-symbol queries like --symbol AAPL,MSFT,GOOGL to fail with
'args couldn't be interpreted' for all symbols after the first.

Flag values are now identified by checking whether the preceding token
is a known option string with nargs != 0, and their commas are preserved
so the provider receives the original comma-separated string.

* test: add coverage for comma-split fix in parse_known_args_and_warn

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-03-22 20:00:08 +00:00
Danglewood
978c579a48 Merge branch 'develop' into feature/refactor-oecd 2026-03-19 09:21:18 -07:00