It suits traders who expect the index to stay close to its current level and want the worst case fixed before they enter. An iron fly earns the most when the index finishes exactly at the short strike, and its loss is capped at the wing width minus the credit. It collects more than an iron condor and has a smaller maximum loss, but its profit zone is narrow, so it depends on a quiet market and on timing. This guide covers its history, the numbers on one lot, how the wing width changes the trade, the Greeks, margin, entries, exits, adjustments, a worked expiry-week trade, costs, backtesting and how to automate it. The settings shown are examples to test, not recommendations.
Iron fly at a glance
| Feature | Iron fly |
|---|---|
| Market view | Range-bound, close to the centre strike |
| Legs | Buy 1 OTM put, sell 1 ATM put, sell 1 ATM call, buy 1 OTM call, same expiry |
| Maximum profit | The net credit, if the index expires exactly at the short strike |
| Maximum loss | Wing width minus the net credit, beyond either wing |
| Breakevens | Short strike minus and plus the net credit |
| Time decay | Works for you, mostly in the last days |
| Volatility | A rise in IV hurts, a fall helps |
| Margin | Low compared with a naked straddle, thanks to the wings |
| Typical users | Expiry-week and expiry-day sellers who want a defined loss |
| Difficulty | Intermediate: simple shape, demanding timing |
A short history of the iron fly
The butterfly is one of the oldest option shapes. Traders built it from calls alone long before the "iron" version: buy one low strike, sell two middle strikes, buy one high strike, for a small debit and a tent-shaped payoff. Once listed options began trading on the Chicago Board Options Exchange in April 1973 and puts were listed there in 1977, traders could build the same tent from a short straddle and two bought wings, collecting a credit instead of paying a debit.6 Because it mixes calls and puts, it came to be called the iron butterfly, or iron fly. The Black–Scholes model, published in 1973, gave traders a way to price each leg and to see that the fly's value depends mostly on how far the index ends from the middle strike.1
In India, the iron fly grew with weekly index options. Weekly Bank Nifty options arrived in 2016 and weekly Nifty options in February 2019, and expiry-week flies became a standard trade for sellers who wanted the straddle's decay with a known worst case. Margin rules then pushed more sellers toward it. Peak margin rules from December 2020 made traders post full margin through the day, and a hedged position such as a fly needs a fraction of a naked straddle's margin. SEBI's measures of 1 October 2024 added an extra 2% margin on short options on their expiry day and cut weekly expiries to one benchmark index per exchange, which made the wings, and the margin benefit they bring, more valuable still.2
How an iron fly makes money
The trade has four legs on the same expiry:
- Buy a put below the market: the lower wing.
- Sell the at-the-money put.
- Sell the at-the-money call on the same strike.
- Buy a call above the market: the upper wing.
The two at-the-money options are the most expensive on the chain, so the net credit is large. Without the wings this would be a short straddle, with unlimited risk. The wings turn it into two credit spreads that meet at one strike: a bull put spread below and a bear call spread above.
At expiry:
- At the short strike: both short options expire worthless and you keep the full credit.
- Away from the strike: one short option is in the money, and the profit falls point for point until the breakeven.
- Beyond a wing: the long option offsets the short one, so the loss stops at the wing width minus the credit.
The numbers on one lot
Nifty at 25,000, 12 days to a weekly expiry, implied volatility of 14%, an interest rate of 6.5% and a lot of 65.4 Black–Scholes model prices, for illustration:
| Leg | Strike | Model price | Per lot |
|---|---|---|---|
| Buy put | 24,700 | ₹113.40 | −₹7,371 |
| Sell put | 25,000 | ₹227.10 | +₹14,762 |
| Sell call | 25,000 | ₹280.50 | +₹18,233 |
| Buy call | 25,300 | ₹150.10 | −₹9,757 |
| Net credit | ₹244.10 | ₹15,867 |
| Measure | Value |
|---|---|
| Maximum profit | ₹15,867, only at 25,000 at expiry |
| Maximum loss | (300 − 244.10) × 65 = ₹3,634, below 24,700 or above 25,300 |
| Breakevens | About 24,756 and 25,244 |
| Risk to reward | ₹3,634 at risk to make up to ₹15,867 |
| Model chance of expiring between the breakevens | About 30% |
Profit or loss at expiry for one lot:
| Nifty at expiry | P&L |
|---|---|
| 24,700 or lower | −₹3,634 |
| 24,750 | −₹384 |
| 24,900 | +₹9,367 |
| 25,000 | +₹15,867 |
| 25,100 | +₹9,367 |
| 25,250 | −₹384 |
| 25,300 or higher | −₹3,634 |
The shape is a tent. The profit is large only near 25,000, and every 100 points away costs ₹6,500 until the wings take over. Try other strikes and dates in the payoff builder:
Interactive payoff chart: change the spot, IV, lot size and days to expiry to see the curve, breakevens and Greeks.
Choosing the wing width
The wings decide the trade's character. Narrow wings make a cheap, low-risk fly with a small credit after the wings are paid for; wide wings make something close to a straddle.
| Iron fly, one lot | 300-point wings | 500-point wings |
|---|---|---|
| Strikes | 24,700 / 25,000 / 25,300 | 24,500 / 25,000 / 25,500 |
| Net credit | ₹244.10 (₹15,867) | ₹350.15 (₹22,760) |
| Maximum loss | ₹3,634 | ₹9,740 |
| Breakevens | About 24,756 and 25,244 | About 24,650 and 25,350 |
| Model chance inside the breakevens | About 30% | About 42% |
| Theta a day at entry | About +₹152 | About +₹360 |
| Vega per IV point | About −₹230 | About −₹620 |
The wider fly wins more often and earns more each day, but its worst case is almost three times larger. A common approach is to set the maximum loss first, for example 1% of the trading account, and pick the width that fits it.
The Greeks of an iron fly
For the 300-point fly at entry:
| Greek | Per lot | What it means |
|---|---|---|
| Delta | −0.40 ₹ a point | Neutral at entry |
| Gamma | −0.009 | Delta turns against you as the index moves |
| Theta | +₹152 a day | Slow decay with 12 days left |
| Vega | −₹230 per IV point | A rise in IV hurts a little |
With close wings, the long options cancel most of the short options' Greeks while expiry is far away. As expiry nears, the at-the-money options decay much faster than the wings, and theta and gamma both grow sharply.
How an iron fly behaves before expiry
Model P&L for one lot with 10 days left, at the same IV and after a two-point rise:
| Nifty | P&L at IV 14% | P&L at IV 16% |
|---|---|---|
| 24,500 | −₹714 | −₹883 |
| 24,700 | −₹35 | −₹397 |
| 24,850 | +₹266 | −₹188 |
| 25,000 | +₹327 | −₹144 |
| 25,150 | +₹141 | −₹269 |
| 25,300 | −₹253 | −₹541 |
| 25,500 | −₹978 | −₹1,066 |
Early in the trade the P&L barely moves, in either direction. With five days left the picture changes: +₹1,829 at 25,000, +₹1,368 at 24,800 and −₹222 at 25,400. The fly earns its money in the final days, which is when most iron fly traders open it.
Margin for an iron fly
Because the wings hedge the short legs, the margin is a fraction of a naked straddle's, often about a quarter: roughly ₹45,000 to ₹65,000 for one lot of Nifty with 300-point wings in normal conditions. Our F&O margin calculator shows how the figures are built.
- Wings first. Buy the wings before selling the short legs, and buy back the short legs before selling the wings, to keep the hedge benefit at every step.
- Expiry day. Short index options carry an extra 2% extreme loss margin on their expiry day. A fly held on expiry day needs more margin than the day before.
- Size by the loss. The defined loss, ₹3,634 a lot in the example, is the number to size by.
Weekly, expiry-week and expiry-day flies
Nifty 50 weekly options expire on Tuesdays and Sensex weekly options on Thursdays. Bank Nifty and FinNifty have monthly expiries only. The Nifty expiry date calendar lists every date.
- Positional, a week or more out: the credit is large but decays slowly, and a move in either direction has time to happen.
- Expiry week, one to three days out: the most common use. Decay is fast, the credit is smaller, and the fly stays near the strike more often over a short window.
- Expiry day: the at-the-money options are cheap and decay within hours. The margin includes the extra 2%, and a 100-point move can take the whole fly to its maximum loss. It suits strict intraday rules only.
When to enter
Days to expiry
For Nifty weeklies, most iron fly sellers enter one to three days before expiry, when decay is fastest. Earlier entries need patience and wider wings.
The market's recent range
The fly needs the index to settle near the strike. A market that has been moving in a range for a few sessions suits it better than one trending away from it.
Volatility
Higher implied volatility means a bigger credit for the same wings. If IV is likely to fall, for example after an event has passed, the fly benefits twice: from decay and from lower IV.
Event days
Avoid holding a fly through RBI policy, the Union Budget or election results. A single gap can reach a wing.
Exits
Profit target
Because the full credit needs the index to finish exactly at the strike, iron fly targets are usually set at 25% to 50% of the credit. In the expiry-week example below, a 40% target closes the trade when the fly is worth ₹100.47 or less.
Stop loss on the combined premium
Set the stop inside the maximum loss: for example, exit when the fly's value rises by an amount equal to half the maximum loss. Each unit can lose at most the wing width minus the credit.
Strike distance
Some traders exit when the index moves a set distance from the short strike, for example half of the credit. This reacts before the P&L shows the full damage.
Time exit
Close by a fixed time on expiry day, before the last half hour, to avoid the final swings.
Smart Exit and the daily loss limit
Smart Exit sets a profit target, a stop loss and a trailing step for the whole account's day. When it is hit, it stops the running algos and squares off every position. The daily loss limit refuses new orders once the day's loss reaches it. Both count the combined position across every connected broker.
A worked expiry-week trade
A model example, not a record of results. The same fly is opened two days before expiry, when its credit is smaller and its decay faster. Rules: profit target 40% of the credit, stop when the fly is worth ₹230, time exit at 3:10 pm on expiry day.
- Day 1, 9:40 amNifty 25,000, two days to expiry, IV 13%. Buy the 24,700 put at ₹11.10 and the 25,300 call at ₹13.50, then sell the 25,000 put at ₹91.55 and the 25,000 call at ₹100.50. Net credit ₹167.45, or ₹10,884. Maximum loss (300 − 167.45) × 65 = ₹8,616. Breakevens about 24,833 and 25,167.
- Day 1, 10:30 amNifty 25,060. The fly is worth ₹169.06. P&L −₹105.
- Day 1, 2:00 pmNifty rises to 25,120. The fly is worth ₹175.27, a loss of ₹508, well short of the ₹230 stop.
- Day 2, 10:00 amNifty is back at 25,040 and IV has eased to 12.5%. The fly is worth ₹130.10. P&L +₹2,428.
- Expiry day, 11:00 amNifty 25,010, IV 12%. The fly's value falls through ₹100.47, the 40% target. The algo buys back the short legs and sells the wings at a net ₹99.00. Profit (167.45 − 99.00) × 65 = ₹4,449 before charges, about ₹4,210 after them.
Holding to 2:00 pm would have raised the model profit to about ₹6,385, and a 100-point move in the last hours could have cut it to a loss. The target trades part of the upside for a smaller chance of giving it back.
Adjustments
- Roll the fly to the new price. If the index moves and settles, buying back the fly and opening a new one at the current strike resets the profit zone. It costs two sets of four orders and realises the loss on the first fly.
- Widen one wing. Moving the wing on the tested side further out gives the position more room, at the cost of a larger maximum loss on that side.
- Convert to an iron condor. Rolling the untested short option away from the market turns the fly into an iron condor strategy with a wider profit zone and a smaller credit.
- Let the stop decide. Many systematic traders do not adjust: the stop closes the trade, and the next fly starts fresh.
Broken-wing and reverse iron flies
Two variations change the fly's shape on purpose.
The broken-wing iron fly. The wings are set at different distances, for example 200 points below and 400 points above the strike. The side with the closer wing has a smaller maximum loss; the side with the wider wing has more room but a larger worst case. Traders use it when they think one direction is more likely than the other, or to collect a little more credit on the side they worry about less. It is still a defined-risk trade: the maximum loss is the wider wing minus the credit.
The reverse iron fly. Every leg is flipped: buy the at-the-money call and put, sell the two wings. It costs a debit, makes money when the index moves well away from the strike in either direction, and its gain is capped at the wing width minus the debit. It is the buyer's version of the trade, used before events that may move the market sharply, and it loses time value every day the market stays still. QuantPower's algo builder has a Reverse Iron Fly template among its volatile strategies.
Both variations follow the same rules on margin and order: buy legs first, sell legs after, and size by the maximum loss.
Iron fly vs iron condor vs short straddle
Same assumptions: Nifty 25,000, 12 days, IV 14%, one lot of 65.
| Strategy | Credit | Maximum loss | Breakevens | Model chance inside |
|---|---|---|---|---|
| Iron fly 24,700 / 25,000 / 25,300 | ₹15,867 | ₹3,634 | 24,756 and 25,244 | About 30% |
| Iron condor 24,500 / 24,750 / 25,250 / 25,500 | ₹9,051 | ₹7,199 | 24,611 and 25,389 | About 46% |
| Short straddle 25,000 | ₹32,994 | Unlimited | 24,492 and 25,508 | About 58% |
The fly takes a small, defined risk for a large but rarely complete reward. The condor wins more often with a smaller credit. The straddle collects the most and has no loss limit.
Nifty, Sensex and Bank Nifty flies
- Nifty 50: weekly expiry on Tuesday, 50-point strikes, lot of 65, and the deepest liquidity for four-leg orders.
- Sensex: weekly expiry on Thursday on BSE, 100-point strikes. Check the spreads on the wings.
- Bank Nifty: monthly expiry on the last Tuesday, 100-point strikes, lot of 30. Higher implied volatility gives a bigger credit and bigger moves; wings are usually wider.
Costs, slippage and tax
- Brokerage: eight orders for a round trip, ₹160 at ₹20 an order.
- Statutory charges: STT of 0.15% on the premium of options sold, exchange charges, the SEBI fee, stamp duty and GST, about ₹80 for the example.
- Slippage: the at-the-money legs are liquid, the wings less so. Limit orders help, and every backtest should include slippage on all four legs.
Use the brokerage calculator and the slippage calculator for your own numbers. F&O profits are generally taxed as non-speculative business income.
How to backtest an iron fly
- Fix the entry day and time, wing width, target, stop and time exit before you start.
- Use option prices for all four legs at each step, with costs and slippage on every fill.
- Test expiry-week entries separately from earlier ones; they behave like different strategies.
- Study the losing streaks. The fly loses small amounts often, so a run of losses is normal and the backtest tells you how long one can last.
- Keep part of the data for an out-of-sample check.
Setting up the iron fly in QuantPower
The algo builder has an Iron Fly template, an open sample that becomes your own algo once loaded, and the fly's exact rules suit automation. When the algo enters, buy legs go first and sell legs go only after the buys are filled, so the hedge is always in place before the short options; on exit it is the reverse.
| Rule | Example setting |
|---|---|
| Instrument | Nifty 50, current weekly expiry |
| Entry | 9:40 am, two days before expiry |
| Legs | Buy the wings 300 points away first, then sell the ATM call and put |
| Profit target | 40% of the net credit |
| Stop loss | Fly value rises to a set level inside the maximum loss |
| Time exit | 3:10 pm on expiry day |
| Account limits | Smart Exit and the daily loss limit |
| Days | The weekday two days before expiry; switch it off before RBI policy, the Union Budget or election results |
Step 1. Open the template


In Algos, open Option bots, choose the Iron Fly template, set the index, the expiry and the wing distance, and set lots to 1. The same legs can also be built on the payoff screen of the strategy builder and turned into an algo with Run as algo.
Step 2. Set the exits
Enter the profit target, the stop, the time exit and the days the algo runs.
Step 3. Backtest it
Run the rules over past expiries with costs and slippage on, and compare expiry-week entries with earlier ones.
Step 4. Forward test it
Run it on live prices with test money through several expiries before going live.
Step 5. Set the account limit
Set Smart Exit and the daily loss limit in the M2M tab. Smart Exit squares off every position and stops the algos when it is hit; the loss limit refuses new orders.
Step 6. Switch it on live
Connect your broker, choose the lots and switch the algo on live. A live algo costs 200 tokens per 28 days, and once on it enters and exits by its rules with no further tap.
Step 7. Monitor and pause
Watch the algo card on expiry day. You can pause new entries, stop the algo and square off, or stop several algos together, and the kill switch stops a whole segment until its next session. The algo sends its orders to your own broker account through the broker's official API, from the two static IPs that come with your account, within SEBI's retail algo framework.3 Your broker must be signed in for the day.
Common iron fly mistakes
- Expecting the full credit. It needs the index to finish exactly at the strike. Set a realistic target.
- Opening it too early with narrow wings. Decay is slow for days, and a move in that time ends the trade.
- Selling the short legs before buying the wings. It can block far more margin, or get the order rejected.
- Holding into the last minutes of expiry day. A late move can turn a large profit into the maximum loss.
- Ignoring the expiry-day margin. The extra 2% applies to the short legs on their expiry day.
- Sizing by the low margin. Size by the maximum loss.
Pre-trade checklist
- The strike is at the money and the wings match your maximum loss.
- The order of legs is set: wings first.
- No event falls before your planned exit.
- The profit target, the stop and the time exit are entered.
- Smart Exit and the daily loss limit are set for the account.
- Margin covers the expiry-day requirement if you plan to hold into it.
- The strategy has been backtested with costs and forward-tested.
Frequently asked questions
What is the difference between an iron fly and an iron butterfly?
None: they are two names for the same strategy. Some traders also say iron fly for the version that sells the at-the-money straddle and buys wings at equal distances, which is the version on this page.
Is an iron fly safer than a short straddle?
Its loss is capped, so the worst case is known and far smaller. It also collects less, because the wings cost money. It is safer in the sense of risk, not in the sense of a higher chance of profit.
How much can an iron fly lose?
The wing width minus the net credit, times the lot size. In the example, (300 − 244.10) × 65 = ₹3,634 a lot, plus costs.
How much margin does an iron fly need?
Roughly ₹45,000 to ₹65,000 for one lot of Nifty with 300-point wings in normal conditions, about a quarter of a naked straddle's, and more on expiry day. Your broker's calculator gives the exact figure.
When should I enter an iron fly?
Most traders use it one to three days before expiry, when decay is fastest, and avoid event days. Backtest your entry day and time.
How often does an iron fly win?
In the model example it finishes inside its breakevens only about 30% of the time, so it relies on larger wins than losses. The result depends on the target, the stop and the timing. SEBI's studies of individual F&O traders have found that most of them lose money, so test the rules thoroughly first.5
Can I run an iron fly on Bank Nifty or Sensex?
Yes. Bank Nifty has monthly expiries only and higher volatility, so wings are usually wider. Sensex has weekly expiries on Thursdays. Check liquidity on the wing strikes before you trade.
Where iron fly trading is going
The fly's appeal has grown as the rules have tightened. With one weekly expiry per exchange since November 2024, sellers concentrate on Nifty's Tuesday and Sensex's Thursday expiries, and the extra expiry-day margin favours hedged positions over naked ones. Higher STT from 1 April 2026 makes an eight-order round trip a little more expensive, so targets that once covered costs comfortably need checking again. And with retail algos registered through brokers since April 2026, a fly's rules, its wing width, target, stop and time exit, are written down before it ever trades, which suits a strategy that lives or dies by timing.
Related guides
- Iron condor strategy: the wider, more forgiving cousin
- Short straddle strategy: the fly without its wings
- Butterfly spread strategy: the debit version with calls or puts only
Start with 500 free tokens
Connect your broker, build a strategy and test it on paper before a single live order goes out.
References
- Black, F. and Scholes, M. (1973). The Pricing of Options and Corporate Liabilities. Journal of Political Economy, 81(3), 637–654
- SEBI circular SEBI/HO/MRD/TPD-1/P/CIR/2024/132: Measures to strengthen the equity index derivatives framework, 1 Oct 2024 (expiry-day extreme loss margin, one weekly expiry per exchange) (sebi.gov.in)
- SEBI circular on safer participation of retail investors in algorithmic trading, 4 Feb 2025, and the implementation timeline to 1 April 2026 (sebi.gov.in)
- NSE: Equity derivatives contract specifications (lot sizes and expiry days), checked 12 November 2026
- SEBI, Profitability of Individual Traders in the Equity Derivatives Segment (FY25–FY26), PR No. 50/2026, 20 August 2026
- Cboe Global Markets: history of the Chicago Board Options Exchange, which opened on 26 April 1973 with listed calls; puts followed in 1977 (cboe.com)