How AQ Agent works, under the hood
This is the technical side of the product, separated from the marketing landing. Here live the architecture, the rules behind each engine, the risk controls, and how to reproduce the backtests. Order execution and risk management are fully deterministic and rule-based. The one AI-assisted step is the Active Select engine's monthly stock list — proposed by an AI model, frozen with its rationale for audit, and validated forward in paper trading before it can earn more weight.
Architecture
Each client runs their own agent on their own brokerage account — never a shared pool. The system has three pieces:
- The agent runner evaluates each engine's signals every cycle (roughly every market hour) and submits orders to the broker.
- The scheduler fires the cycles and reconciles capital against your portfolio's target.
- The dashboard shows live positions, P&L, decisions and costs — read-only over the broker's state.
You connect by authorizing the agent on your broker's own screen; API keys remain only as a backup if that doesn't work. Either way the credential is stored encrypted (Vault), and the software only reads the account and places or cancels orders: it never calls a deposit, transfer or withdrawal endpoint.
Engines & signals
AQ Agent groups rule-based strategies into five engines. Your portfolio decides which are available; you choose which run.
- Market Core — index-based equity allocation
- Holds SPY and QQQ in equal parts, in every plan, while the S&P 500 sits above its 200-day moving average. When the index drops below, it rotates 100% into short-term Treasuries (GBIL) and waits. The primary return engine.
- Active Select — monthly model-assisted selection
- A concentrated basket of individual growth stocks, from AQ Plus up. Every month an AI model re-reads a universe of liquid US large- and mid-caps and rebuilds the shortlist this engine may trade — the same list for every subscriber who enables it, frozen and fingerprinted before use. A deterministic 9-signal engine manages entries/exits daily under a crash guard and correlation pruning. By design it carries no backtested return claim — an AI-assisted selection cannot be honestly backtested — so every list is validated forward in paper against the S&P 500.
- Adaptive Defense — multi-trend defensive allocation
- Holds each asset class (US and international equities, bonds, REITs, commodities, gold) only while its long-term trend is positive; rotates to cash when it breaks. Built to fall less than the market in long bear markets; it still loses money while a trend turns.
- Range Premiums & Premium Wheel — defined-risk iron condor, automated wheel
- Sells option premium with bounded risk. The iron condor — where the cost of the index leaving its range is fixed at entry — runs from AQ Pro up. Most of its capital sits in a short-term US Treasury ETF at all times; it commits a smaller portion to spreads only when option premiums are high compared with their own past year. The wheel (cash-secured puts that roll into covered calls) is AQ Studio only: each contract ties up the full purchase amount, which is what sets that plan's funding figure. These trades pay minimal regulatory/clearing fees per contract.
- Crypto 24/7 — rules-based crypto allocation
- A BTC + ETH allocation gated by a 100-day moving average, sized to its weight in the plan each cycle so it does not take over portfolio risk. Steps aside (cash) when the trend breaks. AQ Studio only, and off until you switch it on.
- Custom Portfolio — positions you name yourself
- The one engine where you choose the stock: you name the symbol, the size and the entry, optionally with a target and a stop. The agent then runs it with the target and stop you set, within your per-position limit and under the portfolio circuit breaker. Available on AQ Pro and AQ Studio.
How long a position stays open
Measured over the same 2015–2024 backtest as the figures on this page. Median and average differ because a few long holds sit alongside many short ones — both are shown, since either one alone tells half the story.
| Engine | Median | Average |
|---|---|---|
| Market Core | 22 days | 125 days |
| Adaptive Defense | 52 days | 111 days |
| Range Premiums | 11 days | 14 days |
| Premium Wheel | 6 days | 10 days |
| Crypto | 4 days | 15 days |
Two engines are missing on purpose. Active Select carries no backtested claim, for the reason given above, so it gets no backtested holding period either. Custom Portfolio holds what you tell it to, for as long as you say.
In the United States a position held under a year is taxed as ordinary income rather than at the long-term rate. We do not calculate anybody’s tax: your broker works out cost basis, applies the adjustments and issues the official forms. These numbers are here so you know what an engine does before you switch it on.
Portfolio allocation
Each portfolio blends the engines above at fixed target weights. Every level adds engines on top of the one below; within your portfolio you turn the available ones on or off from Settings. Tap a portfolio to see its mix.
- Market Core — Index-based equity allocation — SPY + QQQ 70%
- Adaptive Defense — Multi-trend defensive allocation 25%
- Reserve — Short-term Treasury-bill reserve 5%
- Market Core — Index-based equity allocation — SPY + QQQ 35%
- Active Select — Monthly model-assisted selection 35%
- Adaptive Defense — Multi-trend defensive allocation 25%
- Reserve — Short-term Treasury-bill reserve 5%
- Market Core — Index-based equity allocation — SPY + QQQ 32%
- Active Select — Monthly model-assisted selection 32%
- Adaptive Defense — Multi-trend defensive allocation 21%
- Custom Portfolio — User-selected portfolio 11%
- Reserve — Short-term Treasury-bill reserve 5%
- Active Select — Monthly model-assisted selection 38%
- Market Core — Index-based equity allocation — SPY + QQQ 23%
- Custom Portfolio — User-selected portfolio 15%
- Adaptive Defense — Multi-trend defensive allocation 15%
- Reserve — Short-term Treasury-bill reserve 8%
Every included engine can open a position from $400 / $400 / $500 / $1k by plan — the buying power the engines mechanically need, not a suggested account size. Opt-in engines (options, crypto) state their own requirement when enabled; below any floor the rest still run.
Risk controls
- Per-position size and exits: every position is sized within your per-position limit and never above its engine's weight. A spread's loss is fixed by its wing width when it opens; stocks and funds exit by their engine's rules, and the stock engine also closes a winning position that falls 10% from its high; the index, trend and crypto engines exit when their regime or trend turns. There is no fixed stop-loss on every stock position; in Custom Portfolio the stop is the one you set. A stop is an instruction to exit, not a guarantee of the exit price — a gap can fill it lower.
- Drawdown circuit breaker: if portfolio drawdown crosses your plan's budget, the agent stops opening new positions; its exits keep working.
- Plan weight: the crypto engine is sized to its weight in the plan each cycle; it does not scale down when crypto gets more volatile.
- Regime filter: the growth and defensive engines step into cash when their long-term moving average turns over.
- Paper-first gate: the Active Select engine's AI-selected lists must build a positive live paper track record before their allocation can grow.
Backtests & reproducibility
Per-strategy backtests (wheel, iron condor, cash-secured put, multi-asset trend, crypto momentum) and per-portfolio compositions are versioned in the product repository, with their methodology and caveats:
scripts/backtests/— the per-strategy harnesses, to run yourselfdocs/validation/bundles/— per-portfolio compositions
Backtest results are hypothetical and forward-looking, not realized returns. They are calibrated against SPY's 2015-2024 baseline and assume the 200-day regime filter behaves consistently with that calibration. Higher growth potential means higher volatility. Past performance does not guarantee future results.
Custody & security
- Your money never leaves your broker. All trading happens in your own account.
- No keys handed over. You authorize on your broker's own screen and can revoke it there at any time; API keys are only a backup. The software never moves money.
- Encrypted credentials. Stored in Vault, rotatable from the dashboard.
- Paper-first. You can start on simulated money; the 60 days are a suggested runway, not a requirement.
Source code
The engine, the strategies and the backtests live in the product repository. If you'd like to audit the methodology or run the backtests yourself, reach us at hello@alphaquantagent.com.
AQ Agent is a software service, not a registered investment adviser, broker-dealer, or fund manager. All trading happens in client-owned brokerage accounts. Historical backtest results are hypothetical and do not guarantee future results. Investing carries risk, including possible loss of principal. AQ Agent is not affiliated with any broker or custodian.