Skip to main content

Back to MarketDeck Research

MarketDeck Research Desk

Backtest stocks in India without writing code

The Research Desk takes a rule you can say in words, such as "each month, hold the 30 Nifty 500 stocks with the strongest twelve-month return", and replays it on past MarketDeck data with paper money. Then it asks the question many backtests skip: could chance alone have produced the same result?

The Research Desk is open to anyone with a free MarketDeck account. Reading these pages needs no account; running an idea needs you to sign in, and each account has a limited number of run units a day.

MarketDeckResearch DeskMoney PaperSAMPLE
Sample rule · past data · paper money
SettingsSample
List
Nifty 100
Rebalance
Monthly
Holdings
20
Costs
On
Money
Paper
Sample ruleSample
Luck check · read this firstSample figures

640of 1,000 random portfolios finished lower than this sample rule.

In this sample, many random portfolios did as well or better, so luck could still explain the result.

Run logSample
  1. Load sample rule
  2. Use past prices only
  3. Apply costs
  4. Build random portfolios
  5. Sample run complete
Historical simulation, not advice. A drawn sample with made-up figures. It is not a real run and not a result for any idea.

What is the MarketDeck Research Desk?

The Research Desk is a strategy backtester for NSE stocks that needs no code: you give it a rule, it replays the rule over past daily prices with stated trading costs and timing, and it shows how a paper portfolio following that rule would have moved.

It is built for trying an idea on history before you rely on it. You can start from one of the starter ideas, which are plain rules taken mostly from published research, or describe a rule of your own. You can use it on the Desk page itself, or by asking Claude in plain words once you have connected Claude to MarketDeck. Either way, your runs are private to your account.

How do you backtest a trading strategy without coding?

You describe the rule in words, or pick a ready-made starter idea, and the Desk turns it into a test. Every test answers the same few questions, so nothing is left implicit:

  1. Which stocks? A list such as the Nifty 500 or the Nifty 50, or a set of NSE sector indices.
  2. What is the rule? For example, rank the list on a past price move and hold the strongest names, or hold a stock only while it trades above its long-term average.
  3. How often does it reset? Monthly, quarterly or on a regular check.
  4. What does trading cost? The Desk applies trading costs and slippage, and fills orders after the signal, not at the price that produced it.
  5. Could it be luck? Every run is compared with random portfolios built under the same conditions, and that comparison is shown first.

None of this needs a spreadsheet or a programming language. Claude can also write the test for you from a plain-English description and check it before it runs.

Which stocks can you test a strategy on?

You can test a stock strategy on the Nifty 500 and on other NSE lists, including the Nifty 50, Nifty 100, Nifty 200 and Nifty Smallcap 250, as well as NSE sector index series and companies grouped by sector.

The lists are the index members as they stand today. That matters: companies that left an index earlier are not part of the test, which can make any list look steadier in hindsight than it was at the time. Each starter idea page says which list it uses and what data it needs.

What is the luck check?

The luck check is a random portfolio benchmark: each run is compared with random portfolios, by default 1,000 of them, drawn from the same list of stocks, on the same schedule, holding the same number of names and paying the same costs. Only the choice of stocks is random.

The Desk then shows where your idea sits among those random portfolios, as a percentile. If many random portfolios did as well, the rule may not have added anything beyond being in the market. For very large tests the Desk may use fewer random portfolios and says how many it used; if the list is too small for the comparison to mean anything, it says that instead of showing a number.

Why compare a strategy with random portfolios?

Because a good-looking backtest can come from chance alone. Try enough rules on the same history and some will look impressive by accident, the same way a fair coin sometimes lands heads many times in a row.

An index is a useful reference, but it answers a different question. Random portfolios that share your rule's constraints show the range of outcomes that luck produced on that same data, so you can see whether your idea stands out from that range or sits comfortably inside it. The probability basics and Monte Carlo guides explain the ideas behind it.

What does a Research Desk run show?

A run shows the luck check first, then how the paper portfolio moved over time, its deepest fall and how it compares with an index. You see these figures only in your own runs: the pages on this site explain ideas and never show a result.

Runs keep their settings, so you can change one thing, such as the list of stocks or the reset schedule, and run the idea again to see what that change did. The drawdown and recovery guide explains why the deepest fall matters as much as the end point.

Who is the Research Desk for?

The Research Desk is for anyone who wants to check a market idea against history before trusting it, whether or not they can code.

  • Anyone with a rule in mind who wants to see how it would have behaved on Indian stocks before relying on it.
  • Students of finance who want to see textbook strategies, such as momentum, trend following, low volatility and mean reversion, tried on NSE data.
  • People who do not write code. You never need to.

What is the Research Desk not?

The Research Desk is a research and learning tool, and it is deliberately limited in four ways:

  • Not advice. It does not tell you what to hold, and no idea is ranked against another.
  • Not a broker. It cannot place orders or connect to a broker account.
  • Not real money. Every figure is a simulation with paper money on past data.
  • Not a forecast. Past results do not indicate future results.

Who can use the Research Desk?

Anyone with a free MarketDeck account can use the Research Desk. You can read these pages without an account; running an idea needs you to sign in, and each account has a limited daily allowance of run units, shown on the Desk.

Where should you start?

Pick the path that suits how you like to work.

What do people often ask?

These are short answers to the questions people ask most often.

Do I need to write code to backtest a strategy?

No. Pick a starter idea on the Desk page, or describe a rule in plain words to Claude after you connect it. The Desk turns it into a test.

What does the luck check compare my idea with?

Random portfolios drawn from the same list of stocks, on the same schedule, with the same number of holdings and the same costs. By default there are 1,000 of them. The Desk shows where your idea sits among them.

Is this investment advice?

No. The Research Desk runs historical simulations for research and learning. It does not tell anyone what to hold, and past results do not indicate future results.

Can the Research Desk place trades?

No. It has no broker connection and cannot place orders. Everything runs on paper money.

Who can see my results?

Only your account. Each run stays private to the account that ran it.

How many tests can I run?

Each account has 20 run units a day and 300 across any 30 days; both are halved in the first week. The Desk shows how much is left.

Who can use it?

Anyone with a free MarketDeck account. You need to sign in to run an idea.

Which Learn guides explain the ideas behind this?

These free MarketDeck Learn guides cover the statistics behind backtests and the luck check:

Historical simulation · paper money · not investment advice