Skip to main content

openbb-quantset

QuantSet as a data provider for OpenBB. One install gives OpenBB prices in 67 countries, financial statements for 36,000+ companies, SEC filings, ETF look-through for 4,899 funds, analyst estimates, options and macro, all from one key.

Built for OpenBB 5 (openbb-core 2.x).

pip install openbb-quantset

Thirty seconds to data

It works with no key on the sample listings (AAPL, MSFT, NVDA, IVV, SPX, BTCUSDT and three international listings), so you can try it before signing up.

from openbb import obb

obb.equity.price.historical("AAPL", start_date="2015-01-01", provider="quantset").to_df()
obb.equity.fundamental.income("NVDA", period="quarter", limit=8, provider="quantset").to_df()
obb.etf.holdings("IVV", provider="quantset").to_df()

For every listing, get a free key at https://quantset.dev/signup and set it once:

obb.user.credentials.quantset_api_key = "YOUR_KEY"

or export QUANTSET_API_KEY. New accounts start with free credits and no card.

What it covers

Every command below is a standard OpenBB command. Add provider="quantset".

Area Commands
Prices equity.price.historical (daily and hourly), equity.price.quote, equity.price.performance, equity.market_snapshots, equity.historical_market_cap, etf.historical, index.price.historical, crypto.price.historical, currency.price.historical
Search and profile equity.search, equity.profile, equity.compare.peers, equity.screener, etf.search, crypto.search
Financials equity.fundamental.income, .balance, .cash, .ratios, .metrics, equity.ownership.share_statistics
Estimates and earnings equity.estimates.forward_eps, .forward_sales, .consensus, equity.fundamental.historical_eps, equity.calendar.earnings
Dividends and splits equity.fundamental.dividends, .historical_splits, equity.calendar.dividend, .splits
Ownership equity.ownership.insider_trading, .institutional, .government_trades, equity.shorts.short_volume
Funds etf.info, etf.holdings, etf.equity_exposure, etf.price_performance
Filings and news equity.fundamental.filings, news.company, news.world
Options and rates derivatives.options.chains, fixedincome.government.treasury_rates, .yield_curve

Only on QuantSet

Datasets OpenBB has no standard command for live under obb.quantset. Pass arguments by name.

Command What you get
obb.quantset.filing_search(symbol="NVDA", query="data center") Passages from 10-K, 10-Q, 8-K and proxy filings, each with a link that opens the filing at the passage
obb.quantset.filing_sections(symbol="NVDA", form="10-K", item="1A") A filing section, such as Risk Factors, as plain text
obb.quantset.guidance(symbol="NVDA") Forward guidance from earnings releases, with the sentence it came from
obb.quantset.drawdowns(symbol="AAPL", start_date="2020-01-01") Fall from the running peak, day by day
obb.quantset.total_return(symbol="AAPL") A total return series with dividends reinvested
obb.quantset.correlations(symbol="NVDA,AAPL,crypto:BTCUSDT") Correlation of daily returns across stocks, ETFs, indices and crypto
obb.quantset.historical_pe(symbol="AAPL") Trailing P/E through time, using only earnings filed by each day
obb.quantset.revenue_segments(symbol="NVDA") Revenue by business segment
obb.quantset.pay_versus_performance(symbol="NVDA") CEO pay against shareholder return
obb.quantset.insider_activity(symbol="NVDA") Count of insider buys and sells
obb.quantset.analyst_ratings(symbol="NVDA") Analyst rank and factor grades over time
obb.quantset.manager_portfolio(manager="Berkshire") A manager's 13F portfolio
obb.quantset.ipo_filings() Companies that have filed to go public
obb.quantset.central_bank_rates() Policy rates of the major central banks
obb.quantset.macro_indicators(symbol="UNRATE,CPIAUCSL") History for any economic series
obb.quantset.macro_search(query="rate") Find an economic series
obb.quantset.employees(symbol="NVDA") Headcount by year

Things worth knowing

Symbols. US tickers work as they are (AAPL). Listings elsewhere use their exchange suffix (SHEL.L, 7203.T). When a ticker matches more than one listing, the provider picks the one the command implies, and you can always be exact with a prefix: us:AAPL, global:SHEL.L, index:SPX, crypto:BTCUSDT.

No look-ahead. Statements, ratios, estimates, institutional ownership and ETF holdings accept as_of. You get only what had been published by that date, and statement rows carry their filing date and SEC accession number.

Adjusted prices. Each daily bar has the observed close, a split_adj_close and an adj_close that also reflects cash dividends.

Percent fields follow OpenBB's convention: a fraction, so 0.25 means 25%. Screener filters are the one exception and are written in percent, because that is how you would say them: min_roic=20.

Many symbols at once. Quotes and statements take up to 100 symbols in a single request. Other commands run one request per symbol side by side, and one bad symbol is reported as a warning without failing the rest.

Errors tell you what to do. If the sandbox key cannot read a listing, or a request needs credits, the message says so and links to the fix.

Develop

pip install -e ".[test]"
pytest

The tests run with no network and no key, against responses in tests/fixtures.

License

MIT

Metadata

Release files for openbb-quantset 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-quantset 0.1.0
File Size Uploaded Provenance Actions
openbb_quantset-0.1.0.tar.gz 48.1 kB Without provenance Details for openbb_quantset-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 90.6 kB

Release files / openbb_quantset-0.1.0.tar.gz

Download URL openbb_quantset-0.1.0.tar.gz
Size 48.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c335e4498e4784778f4d7a7ba7e08de08ec2a6e38b049dc35a349bd5941bf2ac
BLAKE2b-256 checksum
How to use checksums
4e3a624c5be65ed85edef7cee9d2e0441d940b9f19766257a50b9ac8378af487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

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

Download URL openbb_quantset-0.1.0-py3-none-any.whl
Size 42.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2418c5a35aa7ee1aa922c2f3d71ba317a8e75c33ecd450d2ea410d35316d635
BLAKE2b-256 checksum
How to use checksums
c1ad8267ad884c2fb0390f572879970095a8232baf34c32d956c553172147e82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Security for openbb-quantset 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