Skip to main content
📈 Trend-Following Backtests

NineQuantAI · Backtesting · US Market Data · Strategy Tools

Professional-grade quant tools for individual investors. Validate trend-following strategies, call a free US market data API, and analyze chandelier exits. 8 years of history on major symbols, fully transparent.

  • Validate strategies online
  • Free market data API
  • No sign-up required

📊 QQQ · Trend-Following Backtest (2018-2026)

Live engine result

2018-2026 | 11/13/2026 · Nasdaq-100

+187.4%
Total return
Total return
+187.4%
Annualized return
+13.2%
Max drawdown
-27.2%
Trades
55
Win rate
52.7%
Profit factor
2.4

📅 Data period: 05/01/2018 to 11/13/2026 (2,148 trading days)

View full report

Numbers are computed live by the backtest engine with the default chandelier-exit parameters; the data period is the actual available range. Past backtests do not predict future performance.

1,934
Backtests run
67,677
API calls served
8
Registered users
1,337
Symbols supported

📅 Data updated to 11/13/2026⚡ Data timeliness: T+1 daily bars📊 Coverage: major symbols from 05/01/2018, others from 07/01/2024

8 yrs
Major symbols history
Major symbols since May 2018; others since Jul 2024
1,337
Symbols supported
Milliseconds
API response
Free
No sign-up required

Usage figures are live counts from our database (refreshed every 60 seconds), not marketing numbers.

Core Products

Backtest validation + data API — a complete toolchain for quant strategies

📈 Trend-Following Backtest Tool

Validate strategy effectiveness online

Test your trading ideas against real historical data. Supports chandelier exits, dual moving averages, ADX and more, with an equity curve and full trade log.

SMA / EMA
Moving averages
ATR
Average true range
ADX
Trend strength
Volume
Surge filter
  • Dynamic chandelier trailing stop
  • Pyramiding simulation
  • Buy-and-hold benchmark
  • Equity curve + trade log

🔌 Free US Market Data API

No sign-up, call it directly

A stable, fast US market data interface. End-of-day quotes, historical bars and reference data, with batch queries and millisecond responses.

// End-of-day quote example (T+1)
GET /v1/quote/AAPL.US
// Response: milliseconds
  • EOD quotes / historical bars / symbol search (T+1 close)
  • US stocks + ETFs (HK / A-shares planned)
  • Batch queries (up to 50 symbols)
  • Reference data (name / venue / currency / delisting status)

What users say

Feedback from real users

W
Wang **
Individual investor · Shanghai
Backtested my holdings with the Chandelier Exit and Dual MA strategies — max drawdown came in 20% lower than expected. Confident holding through now.
★★★★★
L
Li **
Algo trader · Shenzhen
API responds fast. Plugged it straight into my Python setup and saved myself the trouble of maintaining my own data.
★★★★★
L
Liu **
Algo trader · Shenzhen
8 years of history is more than enough. Backtest results line up with my TradingView checks — the data feels trustworthy.
★★★★★

Core Strategy Principles

Trend following combined with strict risk control, aiming for steady long-term returns

📈 Trend Following

Trade with the trend, right-side entries only. Enter when price breaks a key resistance level and the trend is confirmed; never bottom-fish or trade the left side.

  • Only consider entering once price is above the stop level
  • Buy within 0–3% of the moving average, never chase
  • Leveraged ETFs must be above the 200-day MA

🎯 Chandelier Exit

An ATR-based dynamic stop. The stop rises as price makes new highs, giving the trend room to breathe.

  • Regular stocks: 3× ATR stop
  • Leveraged ETFs: 5× ATR stop
  • The stop only moves up, never down

🔺 Pyramiding

Add to winners — buy more as price rises, with each addition smaller than the last. Profit is anchored to the first entry price, undiluted by later adds.

  • Tranche 1: base position
  • Tranche 2: add at +5% profit
  • Tranche 3: add at +10% profit

🛡️ Risk Rules

Strict risk management with explicit rules for single-position size, total exposure and stop execution — no emotional decisions.

  • Single position ≤ 10% of max exposure
  • Total exposure ≤ 200% of net assets
  • Execute the stop immediately on a break, no buffer

These are strategy design principles, not investment advice, and no return is promised.

🎓 Getting Started

New to quant strategies? Start here

  1. 1Trend following in 5 minutesA simple illustrated tutorial
  2. 2What is a chandelier exitThe core strategy explained
  3. 3How to read backtest resultsA guide to the numbers

Recommended first run: QQQ trend-following strategy(preset parameters, one-click backtest)

Try it now

Supported Markets

Multi-market coverage for global asset allocation

USLive

US Stocks

NYSE and Nasdaq listed stocks

ETFLive

ETFs

Index, leveraged and sector ETFs

HKPlanned

Hong Kong

Stock Connect names, tech stocks

CNPlanned

China A-shares

Main board, ChiNext, STAR Market

Hong Kong, China A-shares are not live yet. You can see them listed in the symbol picker, but they cannot be backtested — we do not fill the gap with estimated data.

Major symbols from 05/01/2018; all other symbols from 07/01/2024 · Data as of 11/13/2026

Works withOpenClawTraeClaude CodeCursor

Let AI Backtest Stocks for You

Install the NineQuantAI Skill and your AI assistant can backtest stocks, validate trading strategies and tune indicator parameters directly. No manual tweaking — one sentence does it.

  • 📊 Backtest any stock
  • ✅ Validate a strategy
  • 🔧 Tune indicator parameters
  • ⚖️ Compare parameter sets
One-sentence install
Read https://api.ninequantai.com/skill/SKILL.md, then use NineQuantAI's backtesting to analyze US equity strategies for me.

Copy this to your AI assistant. It is a plain-text spec — no package to install and no API Key needed.

// Conversational backtest (example; numbers come from real runs)You: Backtest QQQ over the last 2 yearsAI: Done — 9 trades, total return +8.4%...// Parameter tuningYou: What's the best SMA and ATR combo?AI: Best: SMA 100, entry 2x, exit 3xAI: Return +8.4%, drawdown 9.4%

Frequently asked questions

Answers to the questions people ask most

🎓 Getting Started

The questions newcomers run into most often — worth reading first

⚙️ Technical

Details on the API, data and rate limits

Still have questions?

Contact us

Contact Us

Several channels, whenever you need us

📧 Technical Support

ninequantai@gmail.com

Strategy questions, API usage, bug reports

🤝 Business

ninequantai@gmail.com

Custom deployments, data licensing, bulk API purchases

💬 WeChat

1779030636

Replies within 24 hours on business days

🏢 Brand

NineQuantAI 九章量化

Focused on quant tools for individual investors

Every individual investor should be able to validate their trading ideas with real data