How to Backtest MCX Options: Crude Oil, Natural Gas, Gold and Silver
MCX options trade until close to midnight, expire monthly and move with global markets. On StockMock you can backtest them on years of minute-by-minute data, the same one-click way as Nifty and Bank Nifty.
What you can backtest on MCX
Eight MCX contracts are in Backtest and in the Simulator:
| Contract | Lot size | Data from |
|---|---|---|
| Crude Oil | 100 barrels | Jan 2023 |
| Crude Oil Mini | 10 barrels | Jul 2024 |
| Natural Gas | 1,250 mmBtu | Jan 2023 |
| Natural Gas Mini | 250 mmBtu | Jul 2024 |
| Gold | 1 kg (priced per 10 g) | Jan 2024 |
| Gold Mini | 100 g (priced per 10 g) | Jan 2024 |
| Silver | 30 kg (priced per kg) | Jan 2024 |
| Silver Mini | 5 kg (priced per kg) | Jan 2024 |
That is years of MCX history, through very different markets: some platforms' MCX data only starts in 2026. MCX is not in the Strategy Builder yet.
How MCX options differ from Nifty
- Long hours. MCX trades from 09:00 to 23:30, or to 23:55 while the US is on winter time (roughly November to March). Backtests take entries and exits between 09:00 and 23:30; the Simulator follows the actual close each day.
- The evening matters most. Crude, gas and metals react to US data and the US session, so moves and option volumes usually pick up in the evening. Many MCX strategies enter after 18:00.
- Monthly expiries only. There are no weekly MCX options, so positions carry more days to expiry and decay differently from weekly index options.
- Futures, not a spot index. ATM is taken from the futures price.
- Strike steps. Crude Oil strikes are 50 apart and Natural Gas 5 apart. For Gold and Silver, StockMock picks ATM on multiples of 1,000, where most of their option volume trades.
- Lot value. One Crude Oil lot is 100 barrels, so a 1-point move is ₹100 per lot. The minis let you test the same idea at a tenth of the size or less.
- Intraday in backtests. MCX backtests enter and exit in the same session.
How to backtest MCX options
- Pick the commodity. In Backtest, choose Crude Oil, Natural Gas, Gold, Silver or a mini under Select Index. Expiry switches to Monthly.
- Add your legs. Buy or sell, call or put, and the strike: ATM, points or percent from ATM, closest premium, and more.
- Set entry and exit times between 09:00 and 23:30, for example 19:00 to 23:15.
- Add risk rules exactly as for Nifty: per-leg stop loss, target, trailing stop loss, wait & trade, re-execute, or a stop loss and target on the whole strategy.
- Pick the dates and run. Choose a range (Crude Oil and Natural Gas go back to Jan 2023) and click Start Backtest. Results come back in seconds.

▶ MCX options backtesting on StockMock · More on our YouTube channel
Reading the results
You get the same report as an index backtest: total and average profit, win rate, max profit and loss days, max drawdown and its recovery, streaks, expectancy, an estimated margin, day-wise and month-wise breakups, and profit, cumulative and drawdown charts. Add slippage to see how fills change the result, and export to Excel or PDF.

This simple straddle won on 72% of days, but its average losing day was bigger than its average winning day. See the full Crude Oil case study for what the numbers mean and how the same trade looks in the Simulator.
Practise in the Simulator
A backtest tells you whether rules worked. The Simulator lets you replay any MCX session minute by minute and trade it yourself, with a live payoff chart. Use it for the nights that matter: inventory reports, big gaps, expiry week. ▶ Watch: MCX in the Simulator
Backtest Crude Oil, Natural Gas, Gold and Silver options in one click.
Start with StockMock See BacktestFAQs
Which MCX options can I backtest on StockMock?
Crude Oil, Crude Oil Mini, Natural Gas, Natural Gas Mini, Gold, Gold Mini, Silver and Silver Mini. All eight are also in the Simulator.
How far back does StockMock's MCX data go?
Crude Oil and Natural Gas from Jan 2023. Gold, Silver, Gold Mini and Silver Mini from Jan 2024. Crude Oil Mini and Natural Gas Mini from Jul 2024.
Can I backtest MCX options overnight (positional)?
Not yet. MCX backtests are intraday: entry and exit in the same session, between 09:00 and 23:30.
Why does MCX close at 23:55 on some days and 23:30 on others?
MCX follows US daylight saving. It closes at 23:55 while the US is on winter (standard) time, roughly November to March, and at 23:30 for the rest of the year. The Simulator follows the actual close; backtest exits go up to 23:30 all year.
Is MCX in the Strategy Builder?
Not yet. MCX is in Backtest and the Simulator.
How much does backtesting cost?
You can try backtesting with free credits. Multi-year backtests in one click need a Backtesting plan: ₹449 for 1 week, ₹1,299 for 4 weeks (₹325 a week) or ₹2,999 for 12 weeks (₹250 a week). The longer plans save 28% and 44%. Prices are plus 18% GST.
How much do the Simulator and Strategy Builder cost?
Both come in one Analytics plan, together with charts and the option chain: ₹349 for 1 month, ₹1,599 for 6 months (₹267 a month) or ₹2,599 for 1 year (₹217 a month). The 6-month and yearly plans save 24% and 38%. Prices are plus 18% GST. Multi-year backtesting has its own Backtesting plan.
Follow StockMock for new features, strategy ideas and trader podcasts.
Founder updates: Nitish Narang on X (@nitishnarang)