Skip to main content

openbb-riskmodels

OpenBB Platform commands for RiskModels. Audience: a notebook that already uses from openbb import obb. This package is not the Workspace app at https://riskmodels.app/openbb (widgets, dashboards, Analyst copilot).

Install is free. Data access uses a RiskModels API key and the existing capability billing on riskmodels-py.

Homebrew Python is PEP 668-managed; do not pip install into it. From the RiskModels_API repo root, use a venv (gitignored as .venv/) and call its binaries directly so a shell python alias cannot leak in:

cd openbb-riskmodels
python3.12 -m venv .venv
.venv/bin/pip install -e ../sdk -e .
.venv/bin/openbb-build
.venv/bin/python -c "from openbb import obb; print(obb.risk_models)"

openbb-build is the console script from openbb-core. After a rebuild, from openbb import obb exposes obb.risk_models.decompose, decompose_historical, and fundamentals.

Set RISKMODELS_API_KEY, or save it as riskmodels_api_key in OpenBB's credential store (obb.user.credentials.riskmodels_api_key).

Commands

from openbb import obb

obb.risk_models.decompose("NVDA")
obb.risk_models.decompose_historical("CRM", years=2)
obb.risk_models.fundamentals("NVDA", as_of="2024-12-31", periods=8)
  • decompose — latest ERM3 market / sector / subsector / residual snapshot, hedge map, recommended hedge level. Residual is unexplained variance.
  • decompose_historical — daily explained-risk and hedge-ratio series (GET /l3-decomposition).
  • fundamentals — point-in-time quarterly derived fundamentals (GET /fundamentals/{ticker}). Rows keep filed_date, filed_date_source, and sec_facts. Panel-wide: point-in-time normalized fundamentals derived from SEC filings and licensed sources. SEC-sourced applies only to the four SEC-primary concepts and quantities computed only from them.

These commands wrap riskmodels-py (>=0.4.0). They do not implement PIT logic or hedge-map math.

Not in this package

Workspace widgets, the marketplace listing, WACC sensitivity grid, portfolio, rankings, tearsheet, and the copilot. Those live on https://riskmodels.app/openbb or on RiskModelsClient directly. Users who are not already on OpenBB Platform should use riskmodels-py.

Metadata

Release files for openbb-riskmodels 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openbb-riskmodels 0.1.0
File Size Uploaded Provenance Actions
openbb_riskmodels-0.1.0.tar.gz 7.2 kB Without provenance Details for openbb_riskmodels-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openbb-riskmodels 0.1.0
File Interpreter ABI Platform Actions
openbb_riskmodels-0.1.0-py3-none-any.whl Python 3 none any Details for openbb_riskmodels-0.1.0-py3-none-any.whl

Total release size: 14.5 kB

Release files / openbb_riskmodels-0.1.0.tar.gz

Download URL openbb_riskmodels-0.1.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
518cd9871d59b8d533d36d18a1cb456271c3756751be176e2c0f78f016bfd14d
BLAKE2b-256 checksum
How to use checksums
6ba0d7d639ee12d427088c7b32c97fc504fe101b95d73d1f80df0b061f35e6dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / openbb_riskmodels-0.1.0-py3-none-any.whl

Download URL openbb_riskmodels-0.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c931e894528fb4f9cb0311a23761e2eb12454a74554cacfd919c67288909c90
BLAKE2b-256 checksum
How to use checksums
4dd9bb2505d5e7a15256ae35014bbc342431448cee9e85c8b2d05893e21fdd47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Security for openbb-riskmodels 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page