FinLab
AI-Powered Quant Research and Backtesting
Research U.S. and Taiwan stocks with data, backtests, reports, and AI.
Strategy snapshots
Strategies that passed three robustness checks
Each strategy is backtested on real historical data, then put through three checks: nearby parameter values, each half of its period, and trading costs. Each asks: for the same volatility, does it still beat QQQ over the same dates (a higher Sharpe ratio)?
US earnings-surprise breadth timingleveraged ETFs
CAGR Sharpe This strategy 32.3% 1.49 QQQ (total return) 20.7% 0.96 Passed 3 checks Curve & code
US free-cash-flow breadth timingleveraged ETFs
CAGR Sharpe This strategy 31.5% 1.45 QQQ (total return) 20.7% 0.95 Passed 3 checks Curve & code
US short-term mean reversionleveraged ETFs
CAGR Sharpe This strategy 51.9% 1.38 QQQ (total return) 20.7% 0.95 Passed 3 checks Curve & code
Backtest results, not a forecast. QQQ is bought and held over each strategy's own backtest period. The Sharpe ratio uses daily returns with no risk-free rate subtracted. Data as of 2026-10-27.
Complete backtest report
Turn investment ideas into backtest reports you can verify.
FinLab generated this report from a U.S. momentum strategy backtest. It shows return trend, risk, holdings, and trades. On the right, switch tabs and click years to inspect the analysis. FinLab generated this report from a U.S. momentum strategy backtest. It shows return trend, risk, holdings, and trades. In the report below, switch tabs and click years to inspect the analysis.
Strategy
U.S. 12-1 momentum, leveraged-ETF timing
Rebalance
Monthly, up to 2 ETFs
Risk control
Defensive ETF when risk-off, 8% stop
Historical backtests are for research only and do not guarantee future performance.
10+ years of point-in-time data
Each node represents backtest-ready data as it was available then, across price, revenue, filings, institutional flow, market microstructure, and macro series.
Data
Historical
As
Backtests use only what was published then
Filings, revenue and other data enter on their publication dates, so a look back never uses numbers released later.
Technical note
This is called point-in-time (PIT) data. It avoids look-ahead bias: a backtest that uses numbers not yet available at the time looks better than it really was.
Full coverage range
The current catalog spans as far as 2013 to 2026.
Backtest samples, with risk included
How research becomes a strategy
Cut exposure when volatility jumps, no leverage
Volatility targeting on QQQ: hold 15% / realized vol in QQQ, the rest in SHY.
Also researched
- Do fresh QQQ highs follow through? U.S.
- Why does low volatility actually work? U.S.
- Does buying the 3-day laggard pay? U.S.
- Do quality and value still pick US stocks? U.S.
- Do stocks really keep drifting after an earnings beat? U.S.
- Does momentum still work in US stocks? U.S.
Start here
Core FinLab guides
Set up FinLab, download data, or explore strategy research for U.S. stocks.FinLab getting started
Install FinLab, download data, write a strategy, and run the first backtest.
data.get data download
Download prices, fundamentals, revenue, and search dataset keys with data.search().
FinlabDataFrame API
Auto-align data frequencies, rank stocks, manage positions, and build weights.
finlab.data API
Dataset keys, cache settings, market switching, and universe filters.
FinLab Skill setup
Install the AI-assisted workflow and ask an agent to build the first strategy.
Strategy reports
Read evidence-backed backtests with methodology, risk, and downloadable code.
Trusted by
20,000+
The choice of investors and developers
“More than ready-made databases and code — there is a dedicated backtest platform and docs. Saved me a huge amount of time; great value.”
Li-Wei Hou
Apr 2024
“Ran the instructor's code and it surfaced profitable stocks right away — earned back the course fee in two weeks. Five stars, highly recommend.”
An-An Lin
Jan 2024
“The best starting point for quant-trading beginners: setup is one-and-done, and a backtest takes just a minute to tell if a stock is worth buying.”
Uncle La-Hsi
Aug 2023
“FinLab doesn't just hand you a fishing rod — it gives you a whole cruise liner. Rich resources in and out of class, and questions keep getting answered.”
Cheng-Yu Wang
Jul 2023
“Covers everything from EDA to stock-picking strategies — I picked up Python skills I will use for the next ten years.”
eddiecheng
Jul 2023
“More than ready-made databases and code — there is a dedicated backtest platform and docs. Saved me a huge amount of time; great value.”
Li-Wei Hou
Apr 2024
“Ran the instructor's code and it surfaced profitable stocks right away — earned back the course fee in two weeks. Five stars, highly recommend.”
An-An Lin
Jan 2024
“The best starting point for quant-trading beginners: setup is one-and-done, and a backtest takes just a minute to tell if a stock is worth buying.”
Uncle La-Hsi
Aug 2023
“FinLab doesn't just hand you a fishing rod — it gives you a whole cruise liner. Rich resources in and out of class, and questions keep getting answered.”
Cheng-Yu Wang
Jul 2023
“Covers everything from EDA to stock-picking strategies — I picked up Python skills I will use for the next ten years.”
eddiecheng
Jul 2023
“Modular design is easy to pick up, and backtesting makes my investment rationale much clearer — my confidence rose noticeably.”
ReiChen Chen
Nov 2022
“Builds up from the basics with clear explanations and complete code examples you can run right away.”
TH
Aug 2023
“More than ready-made databases and code — there is a dedicated backtest platform and docs. Saved me a huge amount of time; great value.”
Li-Wei Hou
Apr 2024
“Ran the instructor's code and it surfaced profitable stocks right away — earned back the course fee in two weeks. Five stars, highly recommend.”
An-An Lin
Jan 2024
“The best starting point for quant-trading beginners: setup is one-and-done, and a backtest takes just a minute to tell if a stock is worth buying.”
Uncle La-Hsi
Aug 2023
“FinLab doesn't just hand you a fishing rod — it gives you a whole cruise liner. Rich resources in and out of class, and questions keep getting answered.”
Cheng-Yu Wang
Jul 2023
“Modular design is easy to pick up, and backtesting makes my investment rationale much clearer — my confidence rose noticeably.”
ReiChen Chen
Nov 2022
“Builds up from the basics with clear explanations and complete code examples you can run right away.”
TH
Aug 2023
“More than ready-made databases and code — there is a dedicated backtest platform and docs. Saved me a huge amount of time; great value.”
Li-Wei Hou
Apr 2024
“Ran the instructor's code and it surfaced profitable stocks right away — earned back the course fee in two weeks. Five stars, highly recommend.”
An-An Lin
Jan 2024
“The best starting point for quant-trading beginners: setup is one-and-done, and a backtest takes just a minute to tell if a stock is worth buying.”
Uncle La-Hsi
Aug 2023
“FinLab doesn't just hand you a fishing rod — it gives you a whole cruise liner. Rich resources in and out of class, and questions keep getting answered.”
Cheng-Yu Wang
Jul 2023
Run your first U.S. stock backtest with AI in 30 seconds
Paste this to your AI. It installs FinLab, pulls the market data, and runs a backtest you can download.
Tell your AI:
Help me set up FinLab and build my first U.S. momentum strategy. Please read: https://finlab.finance/en/setup
Who FinLab AI is for
Best fit for
Probably not for
People using Codex app, Claude cowork, or other AI agents to turn investing ideas into backtests quickly
Day traders needing minute-level or tick-level signals
Investors who want to validate stock-picking instincts with data, not tips
Options, futures, or derivatives strategy builders
Researchers who want executable stock lists that are closer to real trading
People looking for guaranteed returns or stock tips — FinLab is a research tool, not an advisor
Best fit for
3 items- 01
People using Codex app, Claude cowork, or other AI agents to turn investing ideas into backtests quickly
- 02
Investors who want to validate stock-picking instincts with data, not tips
- 03
Researchers who want executable stock lists that are closer to real trading
Probably not for
3 items- 01
Day traders needing minute-level or tick-level signals
- 02
Options, futures, or derivatives strategy builders
- 03
People looking for guaranteed returns or stock tips — FinLab is a research tool, not an advisor
Run your first backtest in 30 seconds
Free AI research, backtesting, optimization — no credit card required
Data access
- U.S.
- Public beta, free to use
- Taiwan · Free
- Historical data through 2023-12-31
- Taiwan · VIP
- Latest published data; daily prices usually through the previous trading day
VIP-only data and other exceptions
The last free Taiwan trading day is 2023-12-29. VIP-only datasets, including convertible bonds, require a subscription after the trial ends. Open reference tables and U.S. data have their own coverage; see each field’s access label.
Free
NT$ 0
Validate whether your stock-picking instincts stand the test of history
- Describe ideas in plain language, AI builds strategy
- U.S. public-beta data is free; free Taiwan backtest data runs through 2023-12-31
- View yearly return, largest drop, and other results
- Strategy research article previews
- Run backtests manually when you need them
VIP
PopularNT$ 888/mo
Minimum 12-month subscription, no one-month plan. Your price stays the same while the plan renews without a break.
Trade with daily updated data, let strategies auto-pick stocks for you
- Everything in Free, plus:
- Daily updates to the latest data (2010–today, 5000 MB/day)
- FinLab AI: 2× the free plan allowance
- Unlock all strategy articles + full source code
- Cloud-scheduled strategies that run daily
Companies & institutions
NT$60,000 per seat per year, including every feature, a commercial-use license, a contract, and a company tax invoice
Try backtesting for free first, upgrade only when you're sure — zero risk
FAQ
Frequently Asked Questions
FinLab is an AI-powered quant research and backtesting platform founded in 2018. It provides U.S. and Taiwan market databases, a Python SDK, strategy research, AI research tools, and browser/agent workflows through FinLab AI and FinLab Studio.
Not at all. Simply describe your stock selection logic in plain language, like "Rank S&P 500 stocks by 12-month momentum." FinLab AI will automatically generate and backtest the strategy. Advanced users can also customize strategies using Python.
The free tier runs backtests on U.S. and Taiwan historical data, with Taiwan data through 2023-12-31. New accounts get a 7-day VIP trial on first sign-in, no credit card needed. VIP (NT$888/month, or the introductory NT$749/month when you subscribe during the trial) adds daily data updates, full portfolio analysis, auto-scheduled strategy execution, and complete source code for all strategy articles.
The data catalog currently lists more than 300 U.S. and 2,100 Taiwan data fields. U.S.: daily prices for stocks and ETFs, quarterly income statements, balance sheets and cash flows aligned to filing dates, TTM ratios and key metrics, earnings surprises, analyst consensus and price targets, dividends and splits, and S&P 500 / Nasdaq-100 membership. Taiwan: prices and trading, P/E ratios, monthly revenue, financial statements, institutional flows (foreign and domestic investors), margin trading and macro series, sourced from TWSE and MOPS; moving averages, RSI and MACD are calculated from the price data.
Backtests use real historical data simulation including transaction costs and slippage. We provide CAGR, Sharpe ratio, max drawdown, and other risk metrics for comprehensive strategy evaluation. Note: past performance does not guarantee future results — please evaluate investment decisions carefully.
The fastest path is to paste this prompt into your AI: "Help me set up FinLab and build my first U.S. momentum strategy: https://finlab.finance/en/setup" The AI will identify your current tool, guide you to Codex app or Claude cowork if needed, add the FinLab skill, and build your first strategy.
Yes. Paste this prompt into Codex app or Claude cowork: "Help me set up FinLab and build my first U.S. momentum strategy: https://finlab.finance/en/setup" The AI will run the FinLab skill setup when needed, then query data, run backtests, and report CAGR and Sharpe in natural language.
FinLab AI bundles data fetching, the backtest engine, slippage/cost modeling, and performance calculations — you only describe the strategy logic. Rolling your own Python stack means cleaning data, handling dividends, and building a backtest framework. If you already have a complete quant stack, FinLab still works as a fast idea-validation layer.
Yes. FinLab Studio, the browser version, lets you run backtests just by describing your stock-picking idea. No coding needed. To interpret results (CAGR, Sharpe, max drawdown), we recommend reading our glossary first and remembering that past performance does not guarantee future results.
Yes. FinLab AI supports backtesting U.S. individual stocks (S&P 500, Nasdaq 100 constituents) as well as ETFs and sector funds — you can build ETF rotation, sector, and leveraged-ETF strategies. Quarterly fundamentals are aligned to filing date to avoid look-ahead bias.
Yes. FinLab's built-in order API, OrderExecutor, connects to Charles Schwab for U.S. stocks and to E.SUN, SinoPac, MasterLink, and Fubon Securities for Taiwan stocks. It places batch orders from the positions your backtest produces. Before sending real orders, preview them with view_only=True and verify your broker credentials and risk settings.
Known limits: (1) daily-or-longer holding periods only — no minute-level or tick-level signals; (2) no options, futures, or complex derivative strategies; (3) it's a research tool, not investment advice — no buy/sell recommendations; (4) backtests are historical simulations including transaction costs, but may still differ from real fills.