Options strategies

Iron condor on NIFTY: setup, exits and how to backtest it

Build a NIFTY weekly iron condor, work out its credit, breakevens and charges, weigh adjustments against fixed exits, and backtest it on 1-minute data.

By
Veloce team
Published
Reading time
9 min read
On this page
  1. How an iron condor is built
  2. A worked trade, with charges
  3. When the condor enters and exits, around holidays
  4. Adjustments versus fixed exits
  5. The condor as a Veloce spec
  6. Sweeping the settings
  7. What to look at in the results
  8. Try it in Veloce

An iron condor on NIFTY sells an out-of-the-money put and call on the weekly expiry and buys a further put and call as protection. It collects a net credit, profits if NIFTY stays between the sold strikes, and has a maximum loss of the wing width minus the credit. To backtest one honestly, fix the strike rule, entry day and time, and the exits in advance; replay the four actual contracts on one-minute data; fill at the next candle’s open with slippage; charge all eight fills; and handle holiday-shifted expiries. This article builds a condor with real strike arithmetic, prices a full trade including charges, compares adjustments with fixed exits, and shows the Veloce spec and sweep for testing it.

Nothing here is a recommendation. The numbers show how the strategy and the test work.

How an iron condor is built

Start from the at-the-money strike. NIFTY strikes are 50 points apart, so with NIFTY at 25,912.40 the at-the-money strike is 25,900. Veloce’s built-in condor sells four strikes out of the money on each side and buys four strikes beyond those:

Leg Distance from ATM Strike Role
Buy put 8 strikes below 25,500 Lower wing
Buy call 8 strikes above 26,300 Upper wing
Sell put 4 strikes below 25,700 Short put
Sell call 4 strikes above 26,100 Short call

The sold strikes are 200 points either side of the money, and each wing is another 200 points out. The body of the condor (the range between the sold strikes) is 400 points wide.

A worked trade, with charges

Here is one illustrative trade. The premiums are made up for the example; the slippage and charges are computed exactly as Veloce computes them, with one tick of slippage and the default NSE option charges.

Entry: Wednesday, November 18, 2026 at 10:00. The 09:59 index candle closes at 10:00 at 25,912.40. The strategy targets the four legs, and each fills at the open of its own 10:00 candle:

Leg Candle open Fill (1 tick slippage) Charges
Buy 25,500 put ₹18.40 ₹18.45 ₹24.13
Buy 26,300 call ₹12.10 ₹12.15 ₹23.95
Sell 25,700 put ₹42.60 ₹42.55 ₹28.90
Sell 26,100 call ₹35.80 ₹35.75 ₹28.05

Net credit: 42.55 + 35.75 − 18.45 − 12.15 = 47.70 points, or ₹3,100.50 for one lot of 65. Entry charges total ₹105.03, so the credit after charges is ₹2,995.47.

From these numbers:

  • Maximum profit: ₹3,100.50 per lot before charges, if NIFTY settles between 25,700 and 26,100.
  • Maximum loss: (200 − 47.70) × 65 = ₹9,899.50 per lot before charges, if NIFTY settles below 25,500 or above 26,300.
  • Breakevens at expiry: 25,700 − 47.70 = 25,652.30 and 26,100 + 47.70 = 26,147.70.
25,500 25,700 26,100 26,300 +47.70 0 −152.30 keeps the credit between the sold strikes 25,652.30 26,147.70 NIFTY at expiry; P&L in points per unit, before charges
The condor's payoff at expiry: flat profit between 25,700 and 26,100, losses capped beyond the wings at 25,500 and 26,300.

The exits. Veloce’s condor checks three rules on every candle close, for the four legs together as one position:

Exit Rule Trigger in this trade
Take profit Profit reaches 50% of the credit after entry charges ₹1,497.74
Stop loss Loss reaches 2× the credit after entry charges ₹5,990.94
Before expiry One calendar day or less to expiry See the calendar below

The first rule that is met closes all four legs.

Exit: Friday, November 20. Two days later NIFTY has stayed in range and the premiums have decayed. A candle closes with the legs at ₹6.20 (25,500 put), ₹4.10 (26,300 call), ₹18.90 (25,700 put) and ₹14.30 (26,100 call). The position is now worth 65 × (6.20 + 4.10 − 18.90 − 14.30) = −₹1,488.50, against a cost of −₹2,995.47, so the open profit is ₹1,506.97. That passes the ₹1,497.74 target, and the take profit fires on that close.

The four closing orders fill at the next candle’s open. Assuming the opens match those closes, the fills with slippage are ₹6.15 and ₹4.05 for the sold wings, and ₹18.95 and ₹14.35 for the bought-back short legs. Closing costs 65 × 23.10 = ₹1,501.50, and exit charges are ₹96.63.

Item Amount
Credit at entry +₹3,100.50
Cost to close −₹1,501.50
Entry charges −₹105.03
Exit charges −₹96.63
Net P&L +₹1,397.34

The target fired at ₹1,506.97 of open profit; the trade booked ₹1,397.34. The difference is the slippage and the exit charges. Charges alone were ₹201.66, about 6.5% of the credit, on a single lot. A backtest without them would overstate every winning week.

When the condor enters and exits, around holidays

By default Veloce’s condor enters at 10:00 on the first day with at least five calendar days to the nearest weekly expiry, once per expiry. With NIFTY’s Tuesday expiry (NSE/FAOP/68747), that is usually Wednesday, six days before the next Tuesday. The before-expiry exit closes the position on the first candle of a day with one calendar day or less to go, which is usually Monday morning.

Holidays change this. November 24, 2026 is an exchange holiday (NSE trading holidays), so that week’s NIFTY weekly contracts expire a day early, on Monday, November 23. Veloce moves the expiry to the previous trading day, so:

Wed 18 Thu 19 Fri 20 Sat, Sun Mon 23 Tue 24 enter 10:00 5 days to expiry take profit in this example expiry before-expiry exit at the open holiday
With Tuesday a holiday, expiry moves to Monday. Wednesday still has five days to go, so the condor enters; if no other exit fires, the before-expiry rule closes it on Monday's first candle.

On Wednesday the nearest expiry is five days away, so the condor still enters. On Friday there are three days left, more than one, so the time exit does not fire. On Monday there are zero days left, and the time exit closes the position on Monday’s first candle. In a normal week the same rule would close it on the Monday before a Tuesday expiry. A backtest that assumed Tuesday every week would hold this trade into a day that did not trade.

Adjustments versus fixed exits

“Iron condor adjustments” is one of the most common questions about the strategy. The usual adjustments are:

  • Roll the untested side closer. If NIFTY rallies towards the short call, buy back the put spread and sell a new one nearer the money, collecting more credit.
  • Roll the tested side out. Buy back the threatened spread and sell one further away or in a later expiry.
  • Convert to an iron butterfly. Move the untested short strike to the same strike as the tested one.
  • Close the tested side only. Take the loss on one spread and keep the other.

Each can help in some weeks. The trouble is testing them. An adjustment needs a trigger (how close is too close?), a choice of new strikes, a choice of expiry, and a limit on how many times to adjust. That is four or more new settings, each multiplying the combinations a sweep has to try, and each a new opportunity to fit the past. Adjustments also add charges: every roll is two to four more fills.

Fixed exits are a cleaner baseline. A profit target, a stop and a time exit have three settings, apply the same way every week, and can be checked on a held-back period. The sensible order is to test the fixed version first, then ask whether an adjustment beats it after charges on data it was not tuned on.

Veloce tests fixed entries and exits. It does not yet support rolling or re-centring a position, so the comparison you can run today is between different exit rules: tighter or looser stops, earlier or later profit targets, and different time exits.

The condor as a Veloce spec

This is the built-in iron condor as a spec, with one addition: a risk rule that cuts the number of lots so the worst loss at expiry stays within 2% of equity.

{
  "name": "nifty-weekly-condor",
  "candle_minutes": 1,
  "entry": { "first_entry": "10:00", "min_days_to_expiry": 5, "reenter": "each_expiry" },
  "legs": [
    { "kind": "option", "option_type": "put", "side": "buy", "strike": { "kind": "atm_offset", "steps": 8 } },
    { "kind": "option", "option_type": "call", "side": "buy", "strike": { "kind": "atm_offset", "steps": 8 } },
    { "kind": "option", "option_type": "put", "side": "sell", "strike": { "kind": "atm_offset", "steps": 4 } },
    { "kind": "option", "option_type": "call", "side": "sell", "strike": { "kind": "atm_offset", "steps": 4 } }
  ],
  "exits": {
    "group_by": "expiry",
    "rules": [
      { "kind": "take_profit", "amount": { "kind": "share_of_credit", "fraction": "0.5" } },
      { "kind": "stop_loss", "amount": { "kind": "share_of_credit", "fraction": "2" } },
      { "kind": "before_expiry", "days": 1 }
    ]
  },
  "risk": { "rules": [{ "kind": "max_loss_at_expiry", "fraction": "0.02" }] }
}

The key settings:

  • atm_offset steps count strikes out of the money: below the money for puts, above it for calls. Steps 4 and 8 give the 200-point and 400-point strikes.
  • group_by: expiry treats all four legs on the same expiry as one position, so the profit target and stop apply to the whole condor rather than each leg.
  • share_of_credit measures the target and stop against the credit after entry charges.
  • reenter: each_expiry allows one condor per weekly expiry.
  • No square_off time, so the position is held overnight until an exit rule fires.

Veloce fetches option history for strikes within ten strikes of the money on the nearest expiry, so wings eight strikes out are within reach. Wider wings, or a condor on the following week’s expiry (where the reach is three strikes), need a narrower setup.

Sweeping the settings

The four settings people most often ask about are the short distance, the wing width, the profit target and the stop. A sweep over a few values of each, with a check period, looks like this:

Sweep input Values
Tuning period March 1 to August 31, 2026
Check until October 31, 2026
Short distance 3, 4, 5 strikes
Wing width 2, 4 strikes
Take profit 0.4, 0.5 of the credit
Stop loss 1.5, 2 times the credit
Settings to check Best 3

That is 3 × 2 × 2 × 2 = 24 combinations. Each one runs on the tuning period; the top three by net P&L are rerun on September and October. The overfitting guide explains why the check figures, not the tuning figures, are the ones to plan around, and why a cluster of similar settings that all work is more convincing than one sharp winner.

What to look at in the results

  • Net P&L after charges, per expiry. A weekly condor makes one trade a week, so a six-month test has about 26 trades. That is a small sample; widen the period if you can.
  • Exit reasons. How many trades ended at the target, the stop, or the time exit. A strategy that mostly reaches the time exit is really testing time decay into the last day.
  • The worst trades. A condor’s stop at 2× credit is about ₹6,000 per lot in this example, so two stops can erase four winning weeks. Look at how often stops cluster in volatile months.
  • Peak capital at risk. For a condor it is bounded: the wing width minus the credit, per lot. Veloce reports the largest such figure across the run.
  • Lot size. NIFTY’s lot size went from 75 to 65 for weekly contracts expiring from January 6, 2026 (NSE/FAOP/70616). Veloce sets each contract’s lot size from the exchange’s dated schedule, so a backtest that spans the change trades 75 a lot for contracts expiring before January 6, 2026 and 65 after; --lot-size overrides it for the whole run.

Veloce does not compute exchange margin for the condor; work out return on margin separately from your broker’s figures and the peak capital at risk.

Try it in Veloce

The iron condor is one of Veloce’s built-in strategies for NIFTY 50 weekly options, and the same spec runs on SENSEX weekly and BANK NIFTY monthly options. Every backtest fills at the next candle’s open, itemises charges, and handles holiday-shifted expiries; sweeps test the settings with a held-back check period; and the risk and exits page describes each exit rule.

Create a free Veloce account and backtest the condor over the weeks you care about. For the method behind the test, see how to backtest an options strategy; for the at-the-money alternative, see the short straddle guide. Contract details are on the NSE index options page and the BSE SENSEX options page.

Frequently asked questions

What is an iron condor?
Four options on the same index and expiry: sell an out-of-the-money put and call, and buy a put further below and a call further above as protection. You collect a net credit and profit if the index stays between the sold strikes. The loss is capped at the wing width minus the credit.
How do I choose iron condor strikes on NIFTY?
Usually by distance from the at-the-money strike in 50-point steps, or by the premium of the sold options. Veloce's built-in condor sells four strikes out (200 points) and buys eight strikes out (400 points). These are starting points to test, not recommendations.
Should I adjust an iron condor or use fixed exits?
Adjustments such as rolling the untested side add credit but also add rules, charges and room for hindsight. Fixed exits, such as a profit target, a stop loss and a time exit, are easier to test honestly. Test the fixed version first; an adjustment has to beat it after charges.
What is the maximum loss on a NIFTY iron condor?
The wing width minus the net credit, times the lot size, plus charges. With 200-point wings and a 47.70-point credit, that is 152.30 points, or 9,899.50 rupees per lot of 65 before charges.
When does Veloce's iron condor enter and exit?
By default it enters at 10:00 once per weekly expiry, on the first day with at least five calendar days to expiry, and exits at half the credit in profit, at twice the credit in loss, or one calendar day before expiry, whichever comes first.
Can Veloce backtest iron condor adjustments?
Not as rolling rules. Veloce tests fixed entries and exits, which you can vary in a sweep. Rolling or re-centring a position is not supported yet.

Sources

  1. NSE circular NSE/FAOP/68747: revision in expiry day of index and stock derivatives (June 25, 2025)nsearchives.nseindia.com, accessed
  2. NSE circular NSE/FAOP/70616: revision in market lot of derivative contracts on indices (October 3, 2025)nsearchives.nseindia.com, accessed
  3. NSE trading holidaysnseindia.com, accessed
  4. Union Budget 2026-27, Memorandum explaining the provisions of the Finance Bill (STT on options)indiabudget.gov.in, accessed
esc
↑↓Move↵Open