Skip to content

First Trust ETFs

Screen First Trust US ETFs and see each fund's facts and current holdings

Connector software
Free and open source
Service credentials
Not needed
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-first-trust/index.md to help me query First Trust 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.

income_funds

Example output · captured
Connector release
v0.5.0
Engine
2.0.1
VGI protocol
3.4.0
SELECT ticker, fund_name, distribution_rate_12m_percent
FROM firsttrust.main.products
WHERE category = 'Income Funds'
ORDER BY distribution_rate_12m_percent DESC
LIMIT 5;
Result
ticker fund_name distribution_rate_12m_percent
IGLD FT Vest Gold Strategy Target Income ETF® 26.23
DFII FT Vest Bitcoin Strategy & Target Income ETF 19.75
HYTI FT Vest High Yield & Target Income ETF 10.68
FFLX First Trust Flexible Income ETF 10.57
LTTI FT Vest 20+ Year Treasury & Target Income ETF 9.47

Quick start

Choose where to run First Trust 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.

setup.sql
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;

2. Attach the connector

Attach the release directly

Downloads the latest release for your platform and caches it locally.

ATTACH 'firsttrust' AS firsttrust (
  TYPE vgi,
  LOCATION 'github-auto://Query-farm/vgi-etf-first-trust'
);

3. Run a query

query.sql
SELECT ticker, fund_name, distribution_rate_12m_percent
FROM firsttrust.main.products
WHERE category = 'Income Funds'
ORDER BY distribution_rate_12m_percent DESC
LIMIT 5;
More example queries →
Technical details
Verified connector release
v0.5.0
Engine
2.0.1
VGI protocol
3.4.0
Verified on
December 1, 2026
Release notes on GitHub
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 'firsttrust' AS firsttrust (
  TYPE vgi,
  LOCATION 'github-auto://Query-farm/[email protected]'
);

Overview

First Trust US ETF data as DuckDB tables: products (catalog) & holdings (ticker-partitioned, current holdings), plus fund_details — vgi-etf-first-trust

Catalog

Everything firsttrust exposes once attached — read straight from the worker's released build.

firsttrust 1 schema
main 2 tables · 1 function

First Trust fund data: the ETF catalog, per-fund details, and detailed current holdings.

Schema examples (5)
Examples (5)

Highest-yielding First Trust ETFs

SELECT ticker, fund_name, sec_yield_30day_percent
FROM firsttrust.main.products
WHERE sec_yield_30day_percent IS NOT NULL
ORDER BY sec_yield_30day_percent DESC
LIMIT 10;

Top holdings of FTCS

SELECT name, ticker, weight_percent
FROM firsttrust.main.holdings
WHERE fund_ticker = 'FTCS'
ORDER BY weight_percent DESC
LIMIT 10;

The three largest positions of every Alternative fund, with the fund's name — products picks the funds by category and holdings supplies their positions (futures, cash and fund-of-fund lines included)

SELECT p.ticker, p.fund_name, h.name, h.weight_percent
FROM firsttrust.main.products p
JOIN firsttrust.main.holdings h ON h.fund_ticker = p.ticker
WHERE p.category = 'Alternative Funds'
QUALIFY row_number() OVER (PARTITION BY p.ticker ORDER BY h.weight_percent DESC) <= 3
ORDER BY p.ticker, h.weight_percent DESC;

Concentration screen of the Sector & Industry funds: each fund's number of listed holding lines and the combined weight of its top 10, most concentrated first

SELECT p.ticker, p.fund_name, count(*) AS positions,
  round(sum(h.weight_percent) FILTER (WHERE h.rn <= 10), 2) AS top10_weight_percent
FROM firsttrust.main.products p
JOIN (SELECT fund_ticker, weight_percent, row_number() OVER (PARTITION BY fund_ticker ORDER BY weight_percent DESC) AS rn FROM firsttrust.main.holdings) h ON h.fund_ticker = p.ticker
WHERE p.category = 'Sector & Industry Funds'
GROUP BY p.ticker, p.fund_name
ORDER BY top10_weight_percent DESC;
1 more example

Reconcile FTCS's published holdings with its fund facts: reported holding count vs listed lines (which include cash), and the holdings' total market value as a percent of net assets

WITH h AS (SELECT count(*) AS listed_positions, sum(market_value) AS holdings_value FROM firsttrust.main.holdings WHERE fund_ticker = 'FTCS') SELECT d.ticker, d.num_holdings, h.listed_positions, d.net_assets, h.holdings_value, round(100 * h.holdings_value / d.net_assets, 2) AS pct_of_net_assets
FROM firsttrust.main.fund_details('FTCS') d
CROSS JOIN h
ORDER BY d.ticker;
Tables
holdings 6 examples9 cols

Detailed current fund holdings, hive-partitioned by fund_ticker (filter WHERE fund_ticker = … for one fund, or scan unfiltered for all). First Trust publishes current holdings only (no historical dates).

Columns
fund_tickernot null VARCHAR
The fund's ticker (e.g. FTCS) — the hive partition key; constant for every row of a fund. Filter on it to pick funds; omit to stream all.
as_of_date DATE
Holdings as-of date (the page's own 'Holdings of the Fund as of' date; current holdings only).
weight_percent DOUBLE
Percent of the fund's net assets, in percent points (2.59 = 2.59%; weights sum to ~100).
ticker VARCHAR
Constituent ticker / identifier (blank for some fixed-income lines).
name VARCHAR
Constituent / security name.
cusip VARCHAR
Constituent CUSIP identifier.
sector VARCHAR
Constituent sector / classification (populated for equity funds; blank for many bond funds).
shares_held DOUBLE
Number of shares / units (quantity) held.
market_value DOUBLE
Market value of the position, in USD.
Examples (6)

Top 10 current holdings of FTCS

SELECT name, ticker, weight_percent
FROM firsttrust.main.holdings
WHERE fund_ticker = 'FTCS'
ORDER BY weight_percent DESC
LIMIT 10;

The sector mix of a fund

SELECT sector, sum(weight_percent) AS weight
FROM firsttrust.main.holdings
WHERE fund_ticker = 'FTCS'
GROUP BY sector
ORDER BY weight DESC;

Two funds at once (partition fan-out)

SELECT fund_ticker, name, weight_percent
FROM firsttrust.main.holdings
WHERE fund_ticker IN ('FTCS', 'AIRR');
3 more examples

The three largest positions of every Alternative fund, with the fund's name — products picks the funds by category and holdings supplies their positions (futures, cash and fund-of-fund lines included)

SELECT p.ticker, p.fund_name, h.name, h.weight_percent
FROM firsttrust.main.products p
JOIN firsttrust.main.holdings h ON h.fund_ticker = p.ticker
WHERE p.category = 'Alternative Funds'
QUALIFY row_number() OVER (PARTITION BY p.ticker ORDER BY h.weight_percent DESC) <= 3
ORDER BY p.ticker, h.weight_percent DESC;
SELECT name, weight_percent
FROM firsttrust.main.holdings()
WHERE fund_ticker = 'FTCS'
ORDER BY weight_percent DESC
LIMIT 10;
SELECT fund_ticker, count(*)
FROM firsttrust.main.holdings()
WHERE fund_ticker IN ('FTCS', 'AIRR')
GROUP BY fund_ticker;
Link
products 4 examples10 cols

Every First Trust US ETF with its key facts, one row per fund. Query directly (no arguments) and filter with WHERE; percent columns are in percent points.

Columns
ticker VARCHAR
Exchange ticker (e.g. FTCS).
fund_name VARCHAR
Full fund name as marketed, e.g. 'First Trust Capital Strength® ETF'.
category VARCHAR
Fund-type section the fund is listed under (Income, Sector & Industry, Size/Style, Global/International, Thematic, Specialty, Alternative, Target Outcome).
inception_date DATE
Fund inception date.
nav DOUBLE
Closing net asset value per share, in USD.
sec_yield_30day_percent DOUBLE
30-day SEC yield, percent points (0.71 = 0.71%); null when not reported.
unsubsidized_sec_yield_30day_percent DOUBLE
Unsubsidized 30-day SEC yield, percent points; null when not reported.
distribution_rate_12m_percent DOUBLE
12-month trailing distribution rate, percent points; null when not reported.
yield_as_of_date DATE
As-of date for the yield / distribution-rate columns.
summary_url VARCHAR
URL of the fund's First Trust summary page (also the source for fund_details).
ConstraintsPRIMARY KEY (ticker)
Examples (4)

Highest 30-day SEC yields in the lineup

SELECT ticker, fund_name, sec_yield_30day_percent
FROM firsttrust.main.products
WHERE sec_yield_30day_percent IS NOT NULL
ORDER BY sec_yield_30day_percent DESC
LIMIT 10;

Every income fund

SELECT ticker, fund_name, distribution_rate_12m_percent
FROM firsttrust.main.products
WHERE category = 'Income Funds'
ORDER BY distribution_rate_12m_percent DESC;

Look up a single fund by ticker

SELECT ticker, fund_name, inception_date, nav
FROM firsttrust.main.products
WHERE ticker = 'FTCS';
1 more example

Concentration screen of the Sector & Industry funds: each fund's number of listed holding lines and the combined weight of its top 10, most concentrated first

SELECT p.ticker, p.fund_name, count(*) AS positions,
  round(sum(h.weight_percent) FILTER (WHERE h.rn <= 10), 2) AS top10_weight_percent
FROM firsttrust.main.products p
JOIN (SELECT fund_ticker, weight_percent, row_number() OVER (PARTITION BY fund_ticker ORDER BY weight_percent DESC) AS rn FROM firsttrust.main.holdings) h ON h.fund_ticker = p.ticker
WHERE p.category = 'Sector & Industry Funds'
GROUP BY p.ticker, p.fund_name
ORDER BY top10_weight_percent DESC;
Link
Table functions
fund_details (fund VARCHAR) 3 examples

A one-row snapshot of a single fund's key facts from its summary page: full name, investment advisor, total net assets, shares outstanding, recent daily volume, number of holdings, gross/net expense ratio, and the fund's investment objective. fund is a ticker (e.g. 'FTCS'). These are the facts the products catalog does not carry.

Arguments
fund VARCHAR
The fund to look up, given as an exchange ticker like 'FTCS'. Required, first positional argument.
Returns columns
ticker VARCHAR
Exchange ticker.
fund_name VARCHAR
Full fund name.
investment_advisor VARCHAR
The fund's investment advisor.
net_assets DOUBLE
Total net assets (fund AUM), in USD.
shares_outstanding DOUBLE
Shares outstanding.
daily_volume DOUBLE
Recent daily trading volume (shares).
num_holdings BIGINT
Number of holdings, excluding cash.
expense_ratio_percent DOUBLE
Total (gross) expense ratio, percent points (0.53 = 0.53%).
net_expense_ratio_percent DOUBLE
Net expense ratio after fee waivers, percent points.
objective VARCHAR
The fund's investment objective / strategy, plain text.
Examples (3)

Key facts for FTCS

SELECT ticker, net_assets, expense_ratio_percent, num_holdings
FROM firsttrust.main.fund_details('FTCS');

The fund's investment objective (plain text)

SELECT objective FROM firsttrust.main.fund_details('FTCS');

Reconcile FTCS's published holdings with its fund facts: reported holding count vs listed lines (which include cash), and the holdings' total market value as a percent of net assets

WITH h AS (SELECT count(*) AS listed_positions, sum(market_value) AS holdings_value FROM firsttrust.main.holdings WHERE fund_ticker = 'FTCS') SELECT d.ticker, d.num_holdings, h.listed_positions, d.net_assets, h.holdings_value, round(100 * h.holdings_value / d.net_assets, 2) AS pct_of_net_assets
FROM firsttrust.main.fund_details('FTCS') d
CROSS JOIN h
ORDER BY d.ticker;
Link

Try these queries

top_holdings — The top holdings of the First Trust Capital Strength ETF

SELECT name, ticker, weight_percent
FROM firsttrust.main.holdings
WHERE fund_ticker = 'FTCS'
ORDER BY weight_percent DESC
LIMIT 5;

Uses holdings

fund_facts — Expense ratio and net assets for a fund

SELECT ticker, net_assets, expense_ratio_percent
FROM firsttrust.main.fund_details('FTCS');

Uses fund_details

Highest-yielding First Trust ETFs

SELECT ticker, fund_name, sec_yield_30day_percent
FROM firsttrust.main.products
WHERE sec_yield_30day_percent IS NOT NULL
ORDER BY sec_yield_30day_percent DESC
LIMIT 10

Uses products

Top holdings of FTCS

SELECT name, ticker, weight_percent
FROM firsttrust.main.holdings
WHERE fund_ticker = 'FTCS'
ORDER BY weight_percent DESC
LIMIT 10

Uses holdings

Top 10 holdings of FTCS via the backing scan

SELECT name, weight_percent
FROM firsttrust.main.holdings()
WHERE fund_ticker = 'FTCS'
ORDER BY weight_percent DESC
LIMIT 10

Two partitions at once (fan-out)

SELECT fund_ticker, count(*)
FROM firsttrust.main.holdings()
WHERE fund_ticker IN ('FTCS', 'AIRR')
GROUP BY fund_ticker

9 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 First Trust offer an ETF with the ticker FTCS, and what is it called?
  • What is the expense ratio of the First Trust Capital Strength ETF (FTCS)?
  • What is the single largest holding of the First Trust Capital Strength ETF (FTCS) right now?
  • Using the holdings() table function, list a few FTCS constituents by weight.

First Trust 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.