Backtest options.
Replay past market days.

Test your strategy with past data. See what happens after each trade.

In developmentFor Indian options traders
Example of option positions, a time control and a profit or loss chart
Options strategy / Example image
NIFTYBANKNIFTYSENSEX

Test the rules. Understand each trade.

One set of rules.
Many past dates.

A backtest tests your rules
with data from past dates.

Steps to test past data
Strategy rulesCall + Put
Past dates
Test resultReview each trade.
Set the rules. Choose the dates. Review the result.

Set the rules before you test.

Save your strategy. Check the available dates. Set the costs and order rules before you start.

Read the backtest guide Try a sample report
01

Entry and exit

Set when to enter and exit. Select the option expiry and strike price.

02

Buy and sell positions

A leg is one position in your strategy. Select a call or put. Set buy or sell and the number of lots.

03

Risk limits

Set a stop loss and a profit target. Apply them to one leg or the full strategy. Use points, percentages or rupees.

04

Move stops and enter again

A trailing stop moves after a price change in your favor. Set how many times a position can open again.

05

Holding period

Exit on the same day or hold across days. Hold until expiry only when the required data is checked.

06

Costs and data

Set trading costs. Allow for a difference between expected and actual order prices. Check dates with missing data.

Read the backtest.
Understand the risk.

See the trades and costs
behind each result.

Read a sample reportExample data

Change the sample and test cost. All totals use the completed trades below. Gross means before costs. Net means after costs.

A leg is one option position. Each leg uses 50 example units. Entry is at 09:30. Costs cover opening and closing both options once. These are test costs, not broker fees.

Profit or loss after costs
₹520
Largest fall
₹1,840
Winning trades
57.1%
Completed / skipped
7 / 1
Gross ₹800− Costs ₹280= Net ₹520
₹1,740-₹280StartSample 08

Net equity is the total result after costs. It starts at zero. Drawdown shows each fall from an earlier high after completed trades. Largest fall is the highest drawdown. It excludes losses during open trades. A winning trade has a profit after costs.

Inspect the 8 sample sessions
Closing prices follow the option order below. We skip a session if either option price is missing.
SessionExitLeg closesGrossCostsNet
Sample 0110:15120.00 / 100.00₹900₹40₹860
Sample 0210:40140.00 / 120.00-₹1,100₹40-₹1,140
Sample 0311:10108.00 / 100.00₹1,500₹40₹1,460
Sample 04Option price missingNot recordedSkipped₹0Unavailable
Sample 0512:20116.00 / 110.00₹600₹40₹560
Sample 0613:05154.00 / 120.00-₹1,800₹40-₹1,840
Sample 0714:10114.00 / 100.00₹1,200₹40₹1,160
Sample 0815:00128.00 / 120.00-₹500₹40-₹540

Sell 24,000 CE at 126; Sell 24,000 PE at 112. CE means call. PE means put. We set all sample exit times in advance.

We made up these trade records. They are not market prices or past market results. This sample shows how we calculate reports. It does not test past market data or apply your own risk rules.

Check each trade.

See when each trade opened and closed. Check its prices, quantity and exit reason. The example shows both option prices so you can check the result.

Check the largest fall.

Drawdown is a fall from an earlier high in your results. Check these falls as well as the final profit. A profitable test can still have large losses along the way.

See where data is missing.

See which dates passed, failed or could not be tested. A missing price is not zero. Check how many trades had enough data before you compare results.

Include the costs.

Profit before costs is not the final result. Change the example cost per trade. The chart, final result and number of winning trades update together.

Keep every leg
in one view.

Check your strategy risk.
See the possible result at expiry.

See the result at expiryExample data
Sell 24,000 CE @ 126 pointsSell 24,000 PE @ 112 points
Profit23,50024,00024,500
Profit at expiry₹11,900
Highest profit
₹11,900
Largest loss
Unlimited
Breakevens
23,762 / 24,238

The option price you receive limits your profit. A large index move can cause a large loss.

A leg is one option position. Strike is the fixed index price used to calculate the result at expiry. Premium is the option price. Expiry is when the option ends. Breakeven means no profit or loss. Each leg uses 50 example units. Costs are excluded. This chart shows the result at expiry. It does not show current option prices or actual lot sizes from past dates.

Build the complete position.

Combine buy and sell positions. Set the quantity and holding period. Use contracts with checked data in the same strategy.

Test the exit rules.

Set a stop loss, profit target and trailing stop. Limit repeat entries after an exit. Apply rules to one leg or the full strategy.

Separate the results.

P&L means profit or loss. Check open positions, closed trades and costs separately. A payoff chart shows possible results at expiry. An MTM chart shows how the result changes over time.

See where a loss can occur.

Move the index price in the example. Compare the three strategies. A breakeven is a price where profit and loss are zero. Costs can change that price.

One position.
Every decision.

See how all your options change over time.

  1. 01

    Choose a time.

    Choose the index, date and expiry.

  2. 02

    Set the rules.

    Add options. Set loss limits, profit targets and when to enter again.

  3. 03

    Review the result.

    Compare the open result with completed trades.

Scroll to follow the steps. We made up these figures. They are not market prices.
Replay the market.09:30
NIFTY24,020.00
Sell call24,000 CE126.00
Sell put24,000 PE112.00
Control the strategy.Rule example
Stop loss₹1,000
Profit target₹2,000
Trailing stopOn
Repeat entries2 maximum

These are example settings. A trailing stop moves the loss limit when the result improves.
They are not trading advice.

Check the result.Example data
Profit or loss before costs+₹900
50 units per optionCosts excluded

Use the replay below to test this example.

Move the clock.
Check the change.

Try this made-up example.
Select +5m to move forward five minutes.

Take a second look at the market.Try this made-up example
Simulator
A made-up trading dayStudy area
NIFTY09:30
View option chain
Option chainSample expiry
CallStrikePut
193.2023,85053.20
170.8023,90072.80
148.4023,95092.40
126.0024,000ATM112.00
103.6024,050131.60
81.2024,100151.20
58.8024,150170.80

Made-up prices. CE means call. PE means put. ATM means strike near the index price. No live orders.

Option chainSample expiry
CallStrikePut
193.2023,85053.20
170.8023,90072.80
148.4023,95092.40
126.0024,000ATM112.00
103.6024,050131.60
81.2024,100151.20
58.8024,150170.80

Made-up prices. CE means call. PE means put. ATM means strike near the index price. No live orders.

NIFTY24,020.00
09:1509:30
Your positions
PositionEntryNow
Sell 24,000 CE126.00126.00
Sell 24,000 PE112.00112.00
Profit or loss before costs 50 units per option₹0

Try +5m to move ahead five minutes. P&L means profit or loss. MTM is the result for open positions. Each leg is one option position. Prices and quantities are made up. They are not market prices. Costs are excluded.

Find a setup.
Check its logic.

Find past option contracts. Check prices and trading activity. Move through the day to see changes. These tools are planned.

Research DeskPlanned steps. Made-up data.
  1. 01 Filter the contracts
  2. 02 Check the activity
  3. 03 Replay the move

5 sample contracts

Volume counts traded contracts. OI means open interest: contracts that remain open. V/OI means volume divided by OI. These counts do not show whether buyers expect prices to rise or fall.

NIFTY

25,300 Call

Example expiry
₹120.00Sample option price at 10:15
10:1510:30

Volume divided by OI is 0.40× at this sample time.

Each step shows the next price. OI stays at its value for the sample time. This sample does not create orders or calculate profit or loss. This is made-up data, not market prices.

Check each contract.
Know the limits.

Recorded prices do not show every buy and sell order. Test results depend on the available data, trading costs and order rules.

We check each contract, its lot size and its official settlement value before we allow trades for that period.

Read the data limits

Common questions.

Learn what you can test before you start.

Read the guide

Getting started

Can I use TradeOnLogic now?

The full app is not open to the public yet. You can try the examples on this website. Their prices are made up. They are not market data.

Which markets will I be able to test?

We plan to include NIFTY, BANKNIFTY and SENSEX options. Available dates and contracts will depend on our data checks.

What is market replay?

Market replay lets you move through a past trading day. You can add a position and see its profit or loss as time moves.

Can it place orders with my broker?

No. Live orders through a broker are a future plan. We are working on tests with past data first.

Testing a strategy

What is a backtest?

A backtest tests your trading rules with past data. You set when to buy, sell and exit. The results show trades, costs, profit and loss.

Can I combine buy and sell positions?

Yes. We plan to support up to eight legs. A leg is one buy or sell position in your strategy. Each leg can have its own risk limits.

Can I hold a position until expiry?

Yes, for dates with checked contract and settlement data. Expiry is the date when the option ends. We need the official settlement value to show the final result.

Does a good backtest mean I will make money?

No. Past results do not guarantee future profit. A test uses recorded prices and rules for costs and order prices. Actual trading results can be different.

Backtest the strategy.
Replay the decisions.

Options backtesting and replay are in development.
Live orders through a broker are a future plan.

Backtest guide
Historical research.
No promised returns.