Invesco ETFs
Invesco US ETF facts, holdings, distributions, and NAV history as SQL tables
- Connector software
- Free and open source
- Service credentials
- Not needed
- Query Farm hosting
- Available Β· $10/month organization minimum
Use with an agent
Install the Orchard skill in your project to help your agent find connectors, configure them, and verify SQL results.
npx skills add Query-farm/vgi-skills --skill orchard
Copy this request into your coding agent to get started.
Use https://query.farm/products/orchard/connectors/etf-invesco/index.md to help me query Invesco ETFs with DuckDB or Haybarn 2.0.1 and VGI protocol 3.4. Ask only for missing details about the result I need or whether I want local execution, self-hosting or Query Farm hosting. Check the connector's actual hosting availability, credentials and input requirements. Read one format of each needed reference and the exact object declarations before writing SQL. Use a released connector, and distinguish a saved example result from anything you actually execute. If you cannot run the query, tell me what remains to verify.
cheapest_etfs
Example output Β· captured
- Connector release
- v0.5.0
- Engine
- 2.0.1
- VGI protocol
- 3.4.0
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
ORDER BY expense_ratio_percent
LIMIT 5;
| ticker | name | expense_ratio_percent |
|---|---|---|
| PBUS | Invesco MSCI USA ETF | 0.04 |
| BSTU | Invesco BulletShares 2030 Treasury Bond ETF | 0.07 |
| BSTV | Invesco BulletShares 2031 Treasury Bond ETF | 0.07 |
| BSGR | Invesco BulletShares 2027 Treasury Bond ETF | 0.07 |
| BSGT | Invesco BulletShares 2029 Treasury Bond ETF | 0.07 |
Quick start
Choose where to run Invesco ETFs, then follow the steps below.
The connector runs alongside DuckDB or Haybarn. No Query Farm account is needed.
1. Install the vgi extension
Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
2. Attach the connector
Attach the release directly
Downloads the latest release for your platform and caches it locally.
ATTACH 'invesco' AS invesco (
TYPE vgi,
LOCATION 'github-auto://Query-farm/vgi-etf-invesco'
);
Attach the signed image
Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.
ATTACH 'invesco' AS invesco (
TYPE vgi,
LOCATION 'oci://ghcr.io/query-farm/vgi-etf-invesco:0.5.0'
);
3. Run a query
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
ORDER BY expense_ratio_percent
LIMIT 5;
Run the connector on a server you manage. You operate the service and choose who can connect.
1. Deploy the connector on your server
Follow the connectorβs deployment instructions. Use its supported HTTP transport, or launch it remotely over SSH. The connection guide explains both options.
2. Install the vgi extension
Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
3. Attach the connector
For an HTTP deployment, replace the example URL with your endpoint. Add the authentication options your deployment requires. For SSH, use the SSH connection instructions.
ATTACH 'invesco' AS invesco
(TYPE vgi, LOCATION 'https://your-connector.example.com');
4. Run a query
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
ORDER BY expense_ratio_percent
LIMIT 5;
Query Farm operates Invesco ETFs for your team. Hosting has a $10 monthly minimum per organization; usage counts toward it. From $2.97 per instance-month ($10 monthly minimum).
1. Create your hosted connector
Open the console, choose your organization and deployment size, and add any service credentials there.
2. Install the vgi extension
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
3. Attach your deployment
Copy the ATTACH statement from your deployment in the console and run it in DuckDB or Haybarn. Use invesco as the catalog alias for the query below.
4. Run a query
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
ORDER BY expense_ratio_percent
LIMIT 5;
Technical details
- Verified connector release
- v0.5.0
- Engine
- 2.0.1
- VGI protocol
- 3.4.0
- Verified on
- December 1, 2026
Pin a version for production
When running the connector yourself, keep a specific release until youβre ready to upgrade. Replace the ATTACH statement above with this one and follow the same extension and credential setup.
Attach the release directly
Uses the verified release each time you attach the connector.
ATTACH 'invesco' AS invesco (
TYPE vgi,
LOCATION 'github-auto://Query-farm/[email protected]'
);
Attach the signed image
Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.
ATTACH 'invesco' AS invesco (
TYPE vgi,
LOCATION 'oci://ghcr.io/query-farm/vgi-etf-invesco:0.5.0'
);
Overview
Invesco US ETF data from Invesco's public product feed: screen the lineup on fund facts, inspect what a fund currently holds, and pull per-fund distribution and NAV history β vgi-etf-invesco
Invesco ETFs
Invesco US ETF data, exposed as DuckDB tables and table functions.
The fund is the unit of the data and is keyed by an exchange ticker (e.g. RSP) β begin at the catalog to discover that key, then drill into a fund. Fund holdings are current-only: Invesco reports a single effective date per fund, so there is no historical time travel (unlike some other providers).
Sources
- Invesco ETFs β the US ETF lineup and per-fund pages this data comes from.
- Invesco terms of use β terms that govern use of the site's data.
Data is provided for informational use; review Invesco's terms before redistribution.
Catalog
Everything invesco exposes once attached β read straight from the worker's
released build.
main 2 tables Β· 3 functions
Invesco fund data: ETF catalog, detailed current holdings, and per-fund history.
Schema examples (8)
Cheapest Invesco ETFs by expense ratio
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
ORDER BY expense_ratio_percent
LIMIT 10;
Top holdings of RSP
SELECT ticker, name, weight_percent
FROM invesco.main.holdings
WHERE fund_ticker = 'RSP'
ORDER BY weight_percent DESC
LIMIT 10;
Recent NAV history for RSP
SELECT as_of_date, nav
FROM invesco.main.nav_history('RSP', start_date := DATE '2025-01-01')
ORDER BY as_of_date DESC;
Screen the catalog, then drill into a fund's holdings (join on fund_ticker = products.ticker)
SELECT p.ticker, p.name, p.expense_ratio_percent, h.ticker AS holding,
h.weight_percent
FROM invesco.main.products p
JOIN invesco.main.holdings h ON h.fund_ticker = p.ticker
WHERE p.ticker = 'RSP'
ORDER BY h.weight_percent DESC
LIMIT 10;
4 more examples
Which S&P 500 Equal Weight funds hold NVIDIA, and at what weight: screen products by strategy, then join to holdings (the ticker filter is pushed into the holdings scan; the join itself is not, so every fund's holdings are read once)
SELECT p.ticker, p.name, h.weight_percent
FROM invesco.main.products p
JOIN invesco.main.holdings h ON h.fund_ticker = p.ticker
WHERE p.strategy LIKE 'IDXEQ - S&P 500 Equal Weight%' AND h.ticker = 'NVDA'
ORDER BY h.weight_percent DESC;
Portfolio overlap of QQQ and RSP: how many holdings they share (matched by CUSIP) and the overlap percent, the sum over shared holdings of the smaller of the two weights
SELECT count(*) AS shared_holdings,
round(sum(least(q.weight_percent, r.weight_percent)), 2) AS overlap_percent
FROM invesco.main.holdings q
JOIN invesco.main.holdings r ON r.cusip = q.cusip
WHERE q.fund_ticker = 'QQQ' AND r.fund_ticker = 'RSP';
RSP's trailing-12-month distribution yield (per-share distributions over the last year divided by the latest NAV) next to its 30-day SEC yield
WITH d AS (SELECT sum(amount_per_share) AS ttm_per_share FROM invesco.main.distributions('RSP', start_date := CAST(current_date - INTERVAL 1 YEAR AS DATE))) SELECT f.ticker, round(100 * d.ttm_per_share / f.nav, 2) AS ttm_distribution_yield_percent, f.sec_yield_30day_percent
FROM invesco.main.fund_details('RSP') f
CROSS JOIN d;
RSP's 2025 NAV total return without reinvestment: the NAV change from 2024-12-31 to 2025-12-31 plus the per-share distributions with a 2025 ex-date, as a percent of the starting NAV
WITH n AS (SELECT arg_min(nav, as_of_date) AS start_nav, arg_max(nav, as_of_date) AS end_nav FROM invesco.main.nav_history('RSP', start_date := DATE '2024-12-31', end_date := DATE '2025-12-31')), d AS (SELECT sum(amount_per_share) AS paid FROM invesco.main.distributions('RSP', start_date := DATE '2025-01-01', end_date := DATE '2025-12-31')) SELECT round(100 * (end_nav / start_nav - 1), 2) AS nav_change_percent, round(100 * paid / start_nav, 2) AS distributions_percent, round(100 * ((end_nav + paid) / start_nav - 1), 2) AS total_return_percent
FROM n
CROSS JOIN d;
holdings
Detailed current fund holdings, hive-partitioned by fund_ticker (filter WHERE fund_ticker = β¦ for one fund, or scan unfiltered for all). Current-only β no time travel; as_of_date reflects Invesco's reported effective date.
Top 10 current holdings of RSP
SELECT ticker, name, weight_percent
FROM invesco.main.holdings
WHERE fund_ticker = 'RSP'
ORDER BY weight_percent DESC
LIMIT 10;
Two funds at once (partition fan-out)
SELECT fund_ticker, ticker, weight_percent
FROM invesco.main.holdings
WHERE fund_ticker IN ('RSP', 'SPHQ');
A bond fund also fills coupon / maturity / rating
SELECT name, coupon_percent, maturity_date, rating, weight_percent
FROM invesco.main.holdings
WHERE fund_ticker = 'BSCR'
LIMIT 5;
4 more examples
Which S&P 500 Equal Weight funds hold NVIDIA, and at what weight: screen products by strategy, then join to holdings (the ticker filter is pushed into the holdings scan; the join itself is not, so every fund's holdings are read once)
SELECT p.ticker, p.name, h.weight_percent
FROM invesco.main.products p
JOIN invesco.main.holdings h ON h.fund_ticker = p.ticker
WHERE p.strategy LIKE 'IDXEQ - S&P 500 Equal Weight%' AND h.ticker = 'NVDA'
ORDER BY h.weight_percent DESC;
Portfolio overlap of QQQ and RSP: how many holdings they share (matched by CUSIP) and the overlap percent, the sum over shared holdings of the smaller of the two weights
SELECT count(*) AS shared_holdings,
round(sum(least(q.weight_percent, r.weight_percent)), 2) AS overlap_percent
FROM invesco.main.holdings q
JOIN invesco.main.holdings r ON r.cusip = q.cusip
WHERE q.fund_ticker = 'QQQ' AND r.fund_ticker = 'RSP';
SELECT ticker, name, weight_percent
FROM invesco.main.holdings()
WHERE fund_ticker = 'RSP'
ORDER BY weight_percent DESC
LIMIT 10;
SELECT fund_ticker, count(*)
FROM invesco.main.holdings()
WHERE fund_ticker IN ('RSP', 'SPHQ')
GROUP BY fund_ticker;
products
Every Invesco US ETF with its key facts, one row per fund. Query directly (no arguments) and filter with WHERE; percent columns are in percent points.
Cheapest Invesco ETFs by expense ratio
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
ORDER BY expense_ratio_percent
LIMIT 10;
Fixed-income ETFs
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
WHERE asset_class = 'Fixed Income'
ORDER BY name;
Look up a single fund by ticker
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
WHERE ticker = 'RSP';
distributions (fund VARCHAR, end_date := DATE, start_date := DATE)
Distribution history for a fund β one row per distribution with ex, record, and payable dates, the total per-share amount, and its ordinary-income / capital-gain / return-of-capital components. fund is a ticker; bound the ex-date range with start_date/end_date.
Recent RSP distributions
SELECT ex_date, amount_per_share
FROM invesco.main.distributions('RSP')
ORDER BY ex_date DESC
LIMIT 8;
Total distributions since a start date
SELECT sum(amount_per_share) AS total
FROM invesco.main.distributions('RSP', start_date := DATE '2025-01-01');
RSP's trailing-12-month distribution yield (per-share distributions over the last year divided by the latest NAV) next to its 30-day SEC yield
WITH d AS (SELECT sum(amount_per_share) AS ttm_per_share FROM invesco.main.distributions('RSP', start_date := CAST(current_date - INTERVAL 1 YEAR AS DATE))) SELECT f.ticker, round(100 * d.ttm_per_share / f.nav, 2) AS ttm_distribution_yield_percent, f.sec_yield_30day_percent
FROM invesco.main.fund_details('RSP') f
CROSS JOIN d;
fund_details (fund VARCHAR)
A wide one-row snapshot of a single fund's key facts and characteristics: identifiers, expense ratio, net assets, NAV and closing price, premium/discount, 30-day SEC yield, valuation ratios (P/E, forward P/E, P/B, ROE), annualized returns, and the primary benchmark with its return. fund is a ticker like RSP.
Key characteristics for RSP
SELECT ticker, primary_benchmark, pe_ratio, expense_ratio_percent
FROM invesco.main.fund_details('RSP');
Size, holdings count, and 30-day SEC yield
SELECT ticker, net_assets, num_holdings, sec_yield_30day_percent
FROM invesco.main.fund_details('RSP');
1-year fund return vs its benchmark
SELECT return_1y_percent, benchmark_return_1y_percent
FROM invesco.main.fund_details('RSP');
Try these queries
top_holdings β The top holdings of the Invesco S&P 500 Equal Weight ETF
SELECT ticker, name, weight_percent
FROM invesco.main.holdings
WHERE fund_ticker = 'RSP'
ORDER BY weight_percent DESC
LIMIT 5;
Uses holdings
Cheapest Invesco ETFs by expense ratio
SELECT ticker, name, expense_ratio_percent
FROM invesco.main.products
ORDER BY expense_ratio_percent
LIMIT 10
Uses products
Recent NAV history for RSP
SELECT as_of_date, nav
FROM invesco.main.nav_history('RSP', start_date := DATE '2025-01-01')
ORDER BY as_of_date DESC
Uses nav_history
RSP's trailing-12-month distribution yield (per-share distributions over the last year divided by the latest NAV) next to its 30-day SEC yield
WITH d AS (SELECT sum(amount_per_share) AS ttm_per_share FROM invesco.main.distributions('RSP', start_date := CAST(current_date - INTERVAL 1 YEAR AS DATE))) SELECT f.ticker, round(100 * d.ttm_per_share / f.nav, 2) AS ttm_distribution_yield_percent, f.sec_yield_30day_percent
FROM invesco.main.fund_details('RSP') f
CROSS JOIN d
Top 10 holdings of RSP via the backing scan
SELECT ticker, name, weight_percent
FROM invesco.main.holdings()
WHERE fund_ticker = 'RSP'
ORDER BY weight_percent DESC
LIMIT 10
Two partitions at once (fan-out)
SELECT fund_ticker, count(*)
FROM invesco.main.holdings()
WHERE fund_ticker IN ('RSP', 'SPHQ')
GROUP BY fund_ticker
15 more examples in the Catalog, each listed under the table or function it uses.
Questions it can answer
Plain-English questions from the worker's agent test tasks. An AI agent with this catalog attached should answer each one with SQL.
- Does Invesco offer an ETF with the ticker RSP, and what is it called?
- What is the single largest holding of the Invesco S&P 500 Equal Weight ETF (RSP) right now?
- Using the holdings() backing scan function, list a few RSP constituents by weight.
- What is the expense ratio of the Invesco S&P 500 Equal Weight ETF (RSP)?
- Which benchmark does the Invesco S&P 500 Equal Weight ETF (RSP) track, and what is its P/E ratio?
- What has the Invesco S&P 500 Equal Weight ETF's (RSP) NAV done since the start of 2025?
Invesco ETFs is an independent open-source connector from Query.Farm. It is not affiliated with, endorsed by or sponsored by the services, projects or organisations it works with. Product names, logos and trademarks belong to their respective owners.
Related workers
iShares ETFs
Markets & finance
Screen the iShares US ETF lineup and query point-in-time fund holdings, distributions and daily NAV history
Vanguard ETFs
Markets & finance
Screen the Vanguard US ETF lineup and query current fund holdings, distributions and daily NAV and price history
SPDR ETFs
Markets & finance
State Street SPDR ETF facts, current holdings and daily NAV history from the public SSGA feed