A quant engine for your investment team.
Itoflow gives you the AI, market data, compute and quant expertise to run your ideas. Research, backtest and paper trade in our simulator, then run real-money strategies with continuous monitoring.
- AI agents
- Market data
- Compute
- Quant expertise
Built by quants from J.P. Morgan and Tower Research and engineers from Google, Apple and Microsoft.
Bring quantitative methods into your investment process.
Itoflow's quant engine brings together tools for factor-risk analysis, signal research, strategy validation and portfolio optimisation. Its agents use these tools to investigate your investment questions and produce analysis your team can examine.
Capping QQQ: what would it have cost?
This example follows a real QQQ study, from the portfolio manager's question to the results.
Itoflow production · 15 Oct 2026 · Read the full session
- Collect QQQ's 28 quarterly filings, each dated by the day the regulator accepted it
- Match about 100 holdings in each filing to listings, through 9 ticker changes
- Build the capped portfolio and an uncapped control from the same filings
- Run both with 0, 10 and 20 bp costs, and with exit values 20% lower and higher
- Check both caps at all 28 resets and the cost of all 2,828 trades in each portfolio
View actual code
def build_cap(b, profiles, industry_cap=.25):
...
gw = capped_proportions(grp, gcaps, 1.)
issuer_weights = pd.concat([capped_proportions(iw[inds==g], pd.Series(.05, index=iw[inds==g].index), gw[g]) for g in grp.index])
...
assert b.groupby('issuer').capped_weight.sum().max() <= .05 + 1e-9
assert b.groupby('industry').capped_weight.sum().max() <= industry_cap + 1e-9332 lines of Python · 13 engine stops resolved
Capped QQQ: concentration control, not a drawdown hedge
2 Jan 2020–14 Oct 2026 · quarterly resets · 10 bp costs
| Portfolio | A year | Volatility | Worst fall | $100 became |
|---|---|---|---|---|
| Capped 5% / 25% (10 bp) | 20.41% | 24.88% | -37.57% | 352.73 |
| Uncapped control (10 bp) | 20.59% | 24.71% | -34.82% | 356.34 |
| QQQ | 20.31% | 24.78% | -35.12% | 350.82 |
| S&P 500 proxy (SPY) | 15.14% | 20.00% | -33.72% | 260.28 |
Keep watch over your portfolio beyond the conversation.
Give an agent a defined monitoring task, with your investment objectives and limits as context. It keeps watch over time, highlighting changes that deserve attention and explaining why.
From study to monitor: the PM asked Itoflow to keep watch over the capped QQQ portfolio.
Itoflow production · 16 Oct 2026 · Read the full report
Capped QQQ
- Portfolio
- $10m paper portfolio · 100 stocks Drifted weights at the 15 Oct 2026 close, plus $79,070.71 cash. The caps were not reset.
- Watch for
- Company > 5% · Industry > 25% Share classes added together · GICS industries
- Compare against
- QQQ's latest published holdings
- Schedule
- Weekdays · 22:00 London After the US close
- Authority
- Watch and report only. No trades.
Concentration & drift
Two weeks after the last reset, five companies were back above 5%.
At the 1 Oct reset, no company was above 5%. By the 15 Oct close, five were. The monitor flagged them on its first run, and called them items to review, not orders to sell.
| Company | Weight | Over the cap |
|---|---|---|
| Microsoft | 5.37% | 0.37 pts |
| Apple | 5.28% | 0.28 pts |
| Alphabet (both share classes) | 5.25% | 0.25 pts |
| Meta | 5.17% | 0.17 pts |
| Amazon | 5.04% | 0.04 pts |
Alphabet's two share classes are under 5% each. Added together, they are not.
Industries
None above 25%. The largest, semiconductors, is 22.8%, against 31.8% in QQQ.
Drift from QQQ
Active share 16.6%. Largest gaps: Nvidia 3.5 points under, Apple 2.2 under, Meta 1.8 over.
Risk
Forecast tracking error against QQQ of 3.5% a year. Over the last 120 trading days the same holdings differed from QQQ by 3.8% a year, close to the forecast.
Exposure that the industry cap missed.
The caps cut chip stocks to 25%, but the portfolio still depends on memory and storage prices. Sandisk sits in a different industry, so the industry cap misses it: 2.4% of the portfolio and an overweight to QQQ. Micron is 3.4%. The two moved closely together over the last two months.
One governed system, from investment idea to execution.
Data, research, validation and execution work together, with independent risk checks and human approval before a strategy goes live.
Complete architecture
Direction & approvalHuman investment intentYour thesis, objectives and constraints guide the work.
Define the mandate
Set the investment idea, objectives and constraints.
Review the evidence
Examine the research and the reasons behind portfolio decisions.
Authorise execution
Choose whether and when to authorise real-money execution.
OrchestrationAgent harnessAI agents apply quant knowledge, use data and compute, and keep the work available for review.
Quant research expertise
Specialist knowledge and methods guide how agents investigate your idea.
Data and compute
Agents use the platform’s data and compute to write and run research.
Reviewable work
Methods, results and supporting evidence remain available for inspection.
Research and ongoing tasks
Continue earlier research and run strategies or monitoring within a defined mandate.
InputsMarket dataMarket and custom data prepared for quantitative research, strategies and risk analysis.
Market and custom data
Use market prices, company fundamentals and your own datasets in research and strategies.
Research-ready inputs
Work with consistent treatment of corporate actions, currencies and instrument histories.
Historical data and universes
Build studies from historical data and defined investment universes.
Traceable inputs
Inspect the sources and dates behind the inputs used in a study.
Normalised inputs also feed independent risk.
AnalysisResearch + portfolioDevelop signals, evaluate models and construct portfolios under your constraints.
Signal research
Evaluate predictive value, stability and decay across quantitative signals.
Model development
Combine features, compare models and retain the evidence behind each experiment.
Portfolio optimisation
Turn investment views and risk estimates into portfolio weights under your constraints.
Portfolio construction
Account for cash, turnover and transition rules when moving from an idea to a portfolio.
Independent risk supplies covariance and exposures.
EvidenceValidationTest performance and robustness before putting a strategy into use.
Historical simulation
Backtest strategy rules with portfolio rebalancing and trading costs.
Out-of-sample evaluation
Test beyond the model-fitting sample and use walk-forward evaluation as information changes.
Statistical validation
Assess overfitting, multiple testing and stability across samples.
Portfolio comparison
Compare returns, drawdowns and turnover against an appropriate benchmark.
Results return to research for evaluation and refinement.
Human-authorisedExecutionTurn approved portfolio targets into orders and reconciled holdings.
Broker connectivity
Connect supported broker accounts to read holdings and route authorised orders.
Portfolio transitions
Translate target weights into an executable plan that respects cash and trading constraints.
Order management
Size, submit, track and cancel orders through their lifecycle.
Reconciliation
Keep strategy records aligned with broker-reported fills, holdings and cash.
Human approval gates real-money execution.
Orders go to brokers; fills return.
Reconciled holdings feed independent risk.
Independent oversightIndependent riskAssess exposures and portfolio risk with inputs shared across research and validation.
Factor exposures
Analyse market, industry, currency and style exposures, including ETF holdings look-through.
Covariance and specific risk
Estimate how assets move together and the risk specific to each asset.
Portfolio risk analysis
Examine risk contributions and exposures relative to a chosen benchmark.
Historical risk context
Use dated risk estimates with visible coverage and provenance.
Normalised market inputs and reconciled holdings feed this layer; covariance/exposures and as-of risk inputs return to research and validation.
A quant engine vs a general assistant.
We put the same capped-QQQ study to Itoflow and ChatGPT. Compare the two recorded sessions below.
The full recorded response from each session, shown in its own window. Open either session in full from its panel.
Worked for 18 minutes — and did not complete the requested 2019–2026 backtest. I verified historical QQQ holdings and built the capping algorithm, but I did not obtain the complete point-in-time holdings, daily returns and corporate-action history needed to report a defensible net return, maximum drawdown or selloff attribution. I won’t present an equal-weight proxy as your capped portfolio.
There is, however, an important result from the construction work: your rules would have increased the semiconductor allocation going into 2022 — from 16.52% to 20.72%. They reduce single-company concentration, but do not necessarily reduce the chip exposure you are concerned about. That is calculated from QQQ’s actual December 2021 holdings, not today’s constituents projected backward.
It also produced a construction-and-evidence workbook and a research pack in the session — the point-in-time holdings, the allocator, and the tests it passed for binding industry limits, infeasible constraints, weight normalisation and trading-cost arithmetic.
What the caps actually change
I interpreted “stock” as company, combining Alphabet’s two share classes within one 5% allowance. For industries, I used the historical GICS industry classifications in QQQ’s investment schedules, not broad sectors such as Information Technology. I then redistributed excess weight proportionately across the remaining holdings, repeating until both limits were satisfied — this preserves QQQ’s relative weights where constraints do not bind; it is not equal weighting.
The two complete snapshots I reconstructed each contain 101 share-class positions representing 100 companies. Their market values reconcile exactly to the SEC schedules.
| Allocation measure | QQQ, Dec 2021 | Capped | QQQ, Dec 2024 | Capped |
|---|---|---|---|---|
| Largest company | 11.65% | 5.00% | 9.79% | 5.00% |
| Ten largest companies | 54.18% | 41.83% | 54.66% | 44.74% |
| Nvidia | 4.14% | 5.00% | 8.50% | 5.00% |
| Broadcom | 1.82% | 2.31% | 4.63% | 5.00% |
| Semiconductors & semiconductor equipment | 16.52% | 20.72% | 22.30% | 21.18% |
| Does the 25% industry cap bind? | — | No | — | No |
The mechanism matters. At the end of 2021, cutting Apple, Microsoft, Alphabet and Amazon released substantial weight; redistributing it increased many smaller positions — including chip companies. Nvidia itself rose from 4.14% to the 5% ceiling. By December 2024 the Nvidia cut was substantial, but the aggregate semiconductor reduction was only 1.13 percentage points. The 25% industry rule added no further diversification in either snapshot.
The historical trade-off: useful evidence, not your strategy’s results
Below are published total-return index results — not returns of the proposed capped portfolio. The equal-weight index is a different strategy, and is neither an estimate nor a performance bound for your 5% / 25% rules.
| Calendar year | Nasdaq-100 | Equal-weight Nasdaq-100 | S&P 500 |
|---|---|---|---|
| 2019 | 39.46% | 36.65% | 31.49% |
| 2020 | 48.88% | 38.19% | 18.40% |
| 2021 | 27.51% | 18.45% | 28.71% |
| 2022 | −32.38% | −24.31% | −18.11% |
| 2023 | 55.13% | 34.01% | 26.29% |
| 2024 | 25.88% | 7.31% | 25.02% |
| 2025 | 21.02% | 14.99% | 17.88% |
| 2019–2025 annualized | 22.88% | 15.84% | 17.29% |
Over those seven years, an illustrative $10,000 became about $42,307 in the Nasdaq-100 index, $27,996 in its equal-weight counterpart and $30,541 in the S&P 500. This shows the historical cost of a much stronger diversification intervention; it does not quantify the cost of your particular caps.
Through 2022
QQQ’s actual published NAV return was −32.49% in 2022, against −18.11% for the S&P 500 total-return index; equal-weight Nasdaq-100 lost less, at −24.31%. But it would be wrong to assign that equal-weight protection to your strategy: the reconstructed start still had 35% across the seven megacaps and more semiconductor exposure than QQQ.
Through the AI selloffs
The December 2024 reconstruction does establish lower sensitivity to an isolated Nvidia shock: a hypothetical 17% Nvidia decline on fixed starting weights would cost about 1.45% of QQQ’s equity basket versus 0.85% of the capped basket — roughly 0.60 points less. That is not the capped portfolio’s realized DeepSeek-day result; a valid attribution has to include every position that moved.
What you would be giving up — and what you would not be buying
You would give up some participation when the biggest companies lead. You would gain control over position size, not assured downside protection — the cap guarantees a smaller maximum company weight after a reset, not lower volatility, a smaller drawdown, or a better return than the S&P 500. And you would not necessarily eliminate the common AI exposure: a per-industry limit does not constrain a theme spread across industries. For your mandate I would describe this as a concentration-controlled growth sleeve, not an AI-selloff hedge.
How the requested backtest should be implemented
- Point-in-time holdings and execution: start from the Dec 31 2018 composition, trade only after each snapshot is public, at an executable price — N-PORT publication lags make this material.
- Quarterly resets with drift between them: caps apply at rebalancing; enforcing continuous limits is a different strategy.
- Ten basis points on dollars actually traded: selling then buying 10% costs 2 bp of NAV, not 40 bp a year.
- A control portfolio before attribution: reconcile an uncapped, quarterly-reset clone against QQQ first, then isolate single-company capping, industry capping, both, and costs separately.
The unresolved part is the central performance question: the complete timestamped holdings and corporate-action-complete daily return panel are still missing, so I cannot yet substantiate the capped strategy’s 2019–2026 CAGR, maximum drawdown, selloff protection or opportunity cost. A scheduled quarterly concentration check would help distinguish genuine cap protection from weights that have drifted back above the limits.
Sources cited in the session: QQQ’s SEC holdings schedules for December 2021 and December 2024 ; the SEC on N-PORT publication lags; Direxion for the equal-weight Nasdaq-100 index returns; Invesco and Calamos for QQQ’s 2022 NAV return; and Reuters for the January 2025 DeepSeek chronology.
I’ll first check how far back dated QQQ holdings are available and how their publication dates affect a realistic quarterly rebalance. Then I’ll compare the capped sleeve with QQQ and the S&P 500, separating concentration relief, trading costs, and returns forgone in the major drawdowns and rallies.
While it worked: the available QQQ holdings history starts 30 Sep 2019, so a start-of-2019 reconstruction isn’t supported; the first clean quarterly decision is 31 Dec 2019, using September holdings published in November. It built a matched uncapped sleeve from the same lagged books to separate the caps from publication lag, kept former constituents (not just survivors), and held uninvestable stale positions as cash rather than overstate the comparison.
Capping concentration helped in selected AI selloffs — not in the broad growth drawdown
The capped sleeve was still a growth-risk portfolio, not a defensive version of QQQ. In the supported reconstruction it lost 32.7% in 2022, essentially the same as QQQ’s 32.6%, and suffered a deeper full-sample drawdown: 37.6% versus 35.1%.
Over the full supported period the capped sleeve returned 20.4% a year, versus 20.3% for QQQ, 20.6% for the matched uncapped reconstruction, and 15.1% for the S&P 500 proxy. The near-tie with QQQ is not evidence the caps were free: within the matched reconstruction, capping reduced ending wealth by 1.0%.
Coverage: first execution 2 Jan 2020 through the 14 Oct 2026 close — this does not cover the requested start of 2019. Industry classifications and some corporate-action endpoints are approximations; this is not an exact point-in-time implementation record.
What I built
- Each quarter-end uses the latest QQQ holdings already published; targets execute at the next session’s close.
- Cap each issuer at 5% (combining share classes) and each GICS industry at 25%; redistribute the excess proportionally — across industries first, then issuers — preserving relative share-class weights. Neither equal weighting nor return optimization.
- Reset quarterly and allow drift between resets (the largest listing reached 7.0% between resets). Charge 10 bp on every dollar traded, including inception; USD pre-tax total returns with distributions reinvested; uninvestable stale allocations stay in cash.
- A matched uncapped sleeve on the identical baskets, timing, prices and costs isolates the cap effect; QQQ and SPY are buy-and-hold ETF total-return comparators (SPY is an S&P 500 proxy, not the official index).
Filed weights are used as filed, not rolled forward from the filing’s valuation date — so the published-holdings sleeves are deliberately distinct from holding QQQ itself.
Supported-period results: January 2020 – 14 October 2026
| Portfolio | Annualized return | Annualized volatility | Worst drawdown | Ending value / $100 |
|---|---|---|---|---|
| Capped sleeve | 20.41% | 24.88% | −37.57% | $352.73 |
| Matched uncapped | 20.59% | 24.71% | −34.82% | $356.34 |
| QQQ | 20.31% | 24.78% | −35.12% | $350.82 |
| S&P 500 proxy (SPY) | 15.14% | 20.00% | −33.72% | $260.28 |
- 5% / 25% capped (10 bp)
- Uncapped published holdings (10 bp)
- QQQ (ETF total return)
- S&P 500 proxy: SPY (total return)
2022 versus the later selloffs
The 25% industry cap did not remove the common growth, valuation or interest-rate exposure. The capped sleeve’s worst decline ran from 19 Nov 2021 to 14 Oct 2022 and regained its peak on 12 Dec 2023; QQQ’s ran a comparable course, so capping did not materially shorten the wait. In the later windows, relief versus QQQ was modest — about 0.47 pt in the summer-2024 unwind, 0.37 pt on DeepSeek day and 0.46 pt from QQQ’s October 2026 high to the latest close. These are dated episode comparisons, not a claim that all losses were caused by AI news.
| Episode | From | To | Capped | Matched | QQQ | SPY | Capped − matched (pp) |
|---|---|---|---|---|---|---|---|
| 2022 full year | 2021-12-31 | 2022-12-30 | −32.73 | −32.09 | −32.58 | −18.18 | −0.64 |
| Summer 2024 tech unwind | 2024-07-10 | 2024-08-05 | −12.97 | −13.26 | −13.44 | −7.83 | +0.30 |
| DeepSeek day | 2025-01-24 | 2025-01-27 | −2.54 | −2.82 | −2.91 | −1.41 | +0.28 |
| 2025 growth / tariff selloff | 2025-02-19 | 2025-04-08 | −21.87 | −22.18 | −22.77 | −18.76 | +0.30 |
| 2026 QQQ high to latest | 2026-10-06 | 2026-10-14 | −3.58 | −4.33 | −4.04 | −1.22 | +0.75 |
- 5% / 25% capped (10 bp)
- Uncapped published holdings (10 bp)
- QQQ (ETF total return)
- S&P 500 proxy: SPY (total return)
What you would have given up
1. Participation in narrow leadership — unevenly, not every year. Against the matched uncapped sleeve the capped version returned 22.2% vs 27.8% in 2021 and 24.9% vs 26.7% in 2024, but led in 2023 (58.4% vs 56.6%) and in 2026 through 14 October (22.8% vs 16.6%). The trade-off is different leadership exposure, not a constant haircut.
2. Some return, but no demonstrated volatility benefit. Per initial $100, ending wealth was $352.73 capped, $356.34 matched uncapped, $350.82 QQQ and $260.28 SPY. Annualized volatility was 24.9% capped versus 24.8% QQQ — not meaningfully lower.
3. More turnover and implementation work. The capped sleeve traded about 55.8% of NAV a year versus 39.8% for the matched sleeve; at 10 bp the compounded annual drag was 6.7 bp versus 4.8 bp. Capped annualized returns were 20.48% before costs, 20.41% at 10 bp and 20.34% at 20 bp — costs were not the main historical trade-off.
In exchange: at the 1 October 2026 reset the filed uncapped basket held 36.7% in semiconductors, reduced to 25.0%; its largest issuer fell from 7.6% to 5.0% and its top ten from 47.8% to 43.5%. The policy controls concentration; it does not eliminate correlated exposures across software, chips, platforms, power and other AI-linked industries.
- Capped / matched uncapped
- Capped / QQQ
| Year | Capped reconstruction | Matched uncapped | QQQ ETF | SPY proxy |
|---|---|---|---|---|
| 2020 | 43.70 | 46.39 | 46.04 | 17.12 |
| 2021 | 22.16 | 27.84 | 27.42 | 28.73 |
| 2022 | −32.73 | −32.09 | −32.58 | −18.18 |
| 2023 | 58.38 | 56.64 | 54.86 | 26.18 |
| 2024 | 24.86 | 26.68 | 25.58 | 24.89 |
| 2025 | 22.98 | 21.14 | 20.77 | 17.72 |
| 2026 (to 14 Oct) | 22.81 | 16.64 | 19.07 | 13.74 |
Confidence, limitations and decision
The exact backtest originally requested remains unavailable; this is a later-starting, explicitly approximate policy comparison — not a replacement of missing history with today’s constituents. Industry labels are the available fixed GICS classifications, not a certified historical archive; discontinued price histories are converted to cash at their last quote. One filed security — 0.2266 pp of the March 2026 basket used in July — was unresolved and excluded. A ±20% sensitivity on all terminal values put the capped annualized return at 20.32%–20.50% versus 20.51%–20.67% matched uncapped. This is one historical path with overlapping exposures, not proof of future downside protection.
My reading: use the caps if the objective is to stop any one issuer or industry dominating the growth sleeve. Do not justify them as a proven way to cut growth-market drawdowns or reliably outperform QQQ. No portfolio changes or trading strategy were created.
Sources: QQQ’s dated filed holdings and publication dates; routed daily adjusted prices, distribution records and issuer/GICS profiles, retrieved 15 Oct 2026, with market returns ending 14 Oct 2026. Reuters’ 27 Jan 2025 coverage corroborates the DeepSeek chronology; returns come from price data, not headlines.
We hold QQQ as our growth sleeve against the S&P 500, but it has become a bet on a few chip and megacap names. Build us a capped version from the start of 2019: QQQ’s own holdings at each quarter end, no stock above 5%, no industry above 25%, rebalanced quarterly with 10 bp trading costs. How would it have done against QQQ and the S&P 500, including through 2022 and the AI selloffs since, and what would we have given up?
One recorded task chosen by the Itoflow team. Each panel reproduces that session’s full recorded response, verified against the linked session; the Itoflow charts and tables are the session’s own figures. Open either session for the complete working.
Research behind the platform.
Explore the methods behind Itoflow's risk analysis and the portfolio research behind the platform.
How our factor risk model measures up against institutional providers (Barra-style scoring)
Examine Itoflow's out-of-sample risk forecasts using vendor-published evaluation methods, with the test universe and comparison scope explained.
Read the researchGoverned agents in practice: two live investment sessions, end to end
Follow two research sessions through testing, evidence checks and revisions to draft paper strategies left paused for human approval.
Explore the sessionsWhat would you ask a quant team?
- Rebuild IVV with a 3% cap per company from 2015. What would the cap have cost?
- Run this rule on QQQ's filed holdings since 2020 and compare it with an uncapped control.
- Show me what our growth sleeve would have done in 2022 if no industry could pass 20%.