System Guide

From idea to backtest in 3 clicks

Describe your strategy in plain English or write the expression yourself. ftInvstr handles the data, simulation, and full analytics — built on bias-safe Indian equity data going back 6+ years.

1

Strategy Lab — AI Mode

Type your idea in plain English, the AI writes the expression

The entry point

Strategy Lab opens in AI Mode by default. Give your strategy a name, pick a pre-built universe (NIFTY 50 / NIFTY 100 / NIFTY 500 / ALL), set the backtest dates, then either tap a TRY pill (Momentum, Low Debt, Mean Reversion, High Promoter, Buy the Dip, Value) or describe your idea in your own words.

Strategy Lab opening in AI Mode with pre-built suggestion pills
Strategy Lab in AI Mode — the prompt area accepts plain English.

Describe what you want

Type your idea naturally. Examples that work:

User typing a strategy idea in the AI prompt box
step 1 Type the idea, hit Generate Strategy.

AI returns a runnable expression

The AI translates your idea into a real, bias-safe ftInvstr expression you can run, save, or hand-edit. From the result panel you can immediately click Run Backtest, jump into Edit in Pro to refine, or restart with New Idea.

AI-generated expression from a plain-English prompt
step 2 The AI proposes order(normalize(add(rank(delta('Net Profit +', 20)), neg(rank(delta('Borrowings +', 20))))), 0.7, 0.3, 1) for "increased profit, decreasing debt".

Tune the constraints

Open Advanced Constraints to control investment mode, rebalance frequency, initial capital, max positions, stop loss / stop gain, minimum participants, and brokerage rate. Sensible defaults are pre-filled from your last setup.

Advanced constraints panel with investment mode, rebalance, capital, stops
Constraints panel — change only what you need.
2

Strategy Lab — Pro Mode

Write the expression directly when you know what you want

Pro Workspace

Toggle Pro Mode to open the expression builder. The editor tokenises every function and field as a chip, so you can see the structure at a glance and paste expressions directly from this guide or from your own notes.

Pro Mode expression builder with tokenised chips
Pro Mode — write or paste any expression directly.

Same expression, full view

The expression from AI Mode opens cleanly in Pro Mode. You can edit individual tokens, add nested operators, and adjust Advanced Constraints all in one screen before clicking Run Backtest.

AI-generated expression visualised in Pro Mode
An AI-generated expression re-opened in Pro Mode for fine-tuning.
3

Pick a Stock Universe

Pre-built, bias-safe NSE universes — no setup required

Universe options

Every strategy runs against a fixed, date-stamped universe so a stock that was delisted on 2022-06-15 doesn't pollute a backtest on 2022-06-16. Pick from the dropdown:

NIFTY 50
Top 50 large caps

India's bluest-chip index. Conservative; best for foundational momentum / value studies.

NIFTY 100
Top 100 by market cap

Adds large-mid caps. Wider opportunity set than NIFTY 50 with similar liquidity.

NIFTY 500
Top 500 broad market

The most-used universe on ftInvstr. Covers ~95% of NSE market cap, includes mid & small caps.

ALL
Every listed NSE stock

The widest scope. Use when you want true cross-sectional ranking over the full market.

4

What Data Is Available

Three families of fields you can reference in any expression

Data families

Technical
OHLCV & market

From 2000 · Open, High, Low, Close, Adj Close, Volume per stock. Plus NIFTY 50 benchmark for relative-performance and beta computations.

Fundamental
XBRL filings, bias-safe

From 2018 · Quarterly P&L (Sales, EBIT, Net Profit), Balance Sheet (Equity, Borrowings, Cash), Cash Flow (FCF, CFO), ratios, shareholding (Promoters, FIIs, DIIs). Every row is gated by its filing's available_from_date — no look-ahead.

ML Predictions
Forward-growth signals

From 2020 daily · 36 ML-predicted fields covering forward 1Y Sales / EBIT / FCF growth, across 3 model regimes (stable_7y / rolling_4y / recent_2y) and 3 horizons (h1, h2, h3). Use directly in DCF-style expressions: predicted_growth_fcf_1y_rolling_4y_h1.

Macro
RBI, MOSPI, NSDL

Repo rate, 10Y G-Sec yield, CPI, IIP, GDP, FII/DII flows, NIFTY sectoral indices — all forward-filled daily. Browse the full catalog in Data Explain.

5

Investment Modes

How a signal becomes a position — the engine offers 8 different rules

The four most-used modes

Equal-Weight Top-N

Pick the top N stocks by score; allocate the same rupee amount to each. Simplest, most diversified.

Score-Weighted Top-N

Top N stocks, but allocation scales with score. Higher conviction → larger position.

Long / Short Top-N

Buy top N, short bottom N. Market-neutral exposure when the signal works both directions.

Sector-Neutral Top-N

Pick equal numbers of top stocks per sector. Removes sector tilt from the bet.

Other modes include beta-neutral, scheduled rotation, and regime-switching dynamic.

Read the full investment modes guide
6

Run the Backtest

Watch the equity curve build live as the engine walks the calendar

Live simulation

The engine simulates trading day by day: loads the universe snapshot, evaluates your expression against bias-safe historical data, executes trades at the next day's open, deducts brokerage, and records portfolio value. You see the current date being processed, the live cash / equity, and the equity curve growing in real time. You can stop and inspect any time.

Backtest in progress with live equity curve
A backtest mid-run — current date, live portfolio value, growing equity curve.
7

Strategy Library

Your saved strategies, organised and tracked

The Dashboard

Once you save a backtest, it lands in your Strategy Library. The dashboard shows your top-performing strategy today, a featured "Rising Star" from the platform, and quick-access tiles for testing ideas, comparing strategies, and the candlestick library. Each strategy card surfaces its CAGR, recent return, and tags.

Strategy Library dashboard
The Library — saved + tracked strategies with daily P&L updates.
8

Inside a Strategy

Every metric, chart, position, and rebalance — on a single page

Header — what this strategy does

The top of any strategy page summarises the thesis, the universe, the initial capital, and the headline metrics (CAGR, Sharpe, Sortino, Information Ratio, Max Drawdown). The chart underneath plots its equity curve from inception against the broader market.

Strategy header with metrics and equity curve

Analytics — equity, trades, costs, model portfolio

Full performance analytics: portfolio equity vs benchmark, daily trade profile, cumulative cost impact (so you see how much brokerage drag accumulates), plus the live Model Portfolio showing every open position with share count and entry side.

Performance analytics with equity, trades, cost drag, and model portfolio

Year-by-Year breakdown & Monte Carlo

A calendar-year table of CAGR / Sharpe / Sortino / Drawdown / CAGR-vs-IBI / Calmar reveals if returns are concentrated in one period or spread across cycles. The Monte Carlo block answers "how risky is the journey?" by simulating thousands of alternate paths and showing the worst-case drawdown and probability of a positive end.

Year-by-year metrics table and Monte Carlo risk simulation

Alpha Expression & Strategy Config

At the bottom of every strategy page is full transparency: the exact Alpha Expression the backtest used, the Strategy Config (universe, top positions, rebalance frequency, brokerage, bias-safe toggle, date range), and a free-form description. No black box.

Alpha expression and strategy configuration block
9

Daily Tracking

Strategies you save keep updating after market close

Strategy updates email

Once you save a strategy and toggle Track Capital, the engine re-evaluates the expression at every market close on the latest day's data and emails you the resulting rebalance output — which positions to hold, which to exit, which to enter. Live walk-forward research without you having to re-open the platform. Educational research only — not investment advice.

Ready to run your first backtest?

Create an account, pick a universe, write an expression, and get results in minutes.

Create free account Learn about metrics

Legal Disclaimer: ftInvstr is provided as a quantitative research and analytics tool for Indian equities. We are NOT SEBI-registered investment advisers or research analysts. All data, backtests, and strategy updates are for educational and informational purposes only and do not constitute financial advice or trade recommendations. Investing in the stock market involves risk; past performance is not a guarantee of future results.