Skip to main content

Equity and Index Options Simulation

MesoSim backtests index options on SPX, RUT, and VIX, and equity options such as GLD. The contract's exercise style, root, and settlement convention matter when selecting expirations, scheduling exits, and interpreting projected risk.

This page explains how those contracts are represented in the simulator. Use the AI Job Editor to select an underlying and configure its strategy.

Supported Instruments

Index Options

  • SPX — S&P 500 Index: 17 May 2010 onwards.
  • RUT — Russell 2000 Index: 1 January 2012 onwards.
  • VIX — Cboe Volatility Index: 1 January 2012 onwards.

These index options use European-style exercise and cash settlement. Consult the exchange's SPX specifications, RUT specifications, and VIX product information for the real-world contract terms.

Equity Options

Equity options include ETF options, such as GLD (SPDR Gold Shares ETF), with data from 1 January 2012 onwards.

These options use American-style exercise and delivery of underlying shares in the market. MesoSim represents expiration as a cash payoff, as explained below. For background on exercise and assignment, see the Options Industry Council's option lifecycle guide.

Check the Portal's Service Status for the latest loaded data and the Service Status guide for known data limitations. See Accounts and Access for plan availability.

Contract roots and expiration selection

A root identifies an option series within an underlying. The same underlying and expiration date can have different settlement conventions, so the root is part of the contract selection.

UnderlyingCommon rootsSettlement convention
SPXSPX, SPXWSPX: AM; SPXW: PM
RUTRUT, RUTWRUT: AM; RUTW: PM
VIXVIX, VIXWAM
Equity options (e.g., GLD)Underlying's root, e.g., GLDExpiration-day close in MesoSim

For example, add this root filter to an entry in Structure.Expirations to select SPXW contracts:

{
"Name": "front",
"DTE": "30",
"Roots": {
"Include": ["SPXW"]
}
}

Keep your strategy's other expiration and leg settings. The expiration reference explains DTE ranges, root filters, and priorities when several contracts match.

Standard contracts for these instruments use a multiplier of 100: a one-point change in an option's quoted price corresponds to $100 per contract before costs. Set quantities through Structure.Legs and Entry.QtyMultiplier.

Exercise and settlement

Settlement timing

MesoSim distinguishes the end of trading from the settlement reference time:

Contract typeLast trading time used by MesoSimSettlement reference
AM-settled index optionsSession close before expirationOpening-time reference on the settlement date
PM-settled index optionsSession close on expiration dayClosing-time reference on expiration day
Equity optionsSession close on expiration dayClosing underlying price, with cash payoff in MesoSim

Trading schedules follow the simulator's exchange calendar, including early closes. Use Timing and the Schedule reference to place entry and exit checks before the contract stops trading.

AM settlement uses the contract's settlement value. In particular, VIX settles through a Special Opening Quotation; the final value need not equal the displayed spot VIX at the open. See Cboe's VIX settlement explanation.

At expiration, MesoSim calculates the option payoff from the settlement price and strike, using the position's direction, quantity, and contract multiplier. Inspect Settlement and ExitTrade records in the Events Viewer to understand an expiration-based exit.

Equity option exercise handling

Equity option expiration produces cash in MesoSim

MesoSim settles equity options with a cash payoff instead of creating or delivering underlying shares. It does not simulate the subsequent stock position or automatic early exercise and assignment.

American-style pricing and exercise processing are separate features. A pricing model can account for early-exercise value without the simulator creating an assignment event.

To study a strategy that closes options before expiration, use Exit.Conditions for the whole position or RemoveLegsAdjustment for selected legs. These actions close options according to the configured execution model; they do not deliver shares.

Prices and projected risk

Backtest entries and exits use historical market data with your configured fill model, slippage, and commissions. Risk Graphs and the Options Valuation Model calculate projected values for a chosen time and underlying price.

Projected valuation uses these pricing models:

  • European-style options: Black-Scholes-Merton (BSM).
  • American-style options: Cox-Ross-Rubinstein (CRR).

Use Position Monitor to inspect projected PnL and Greeks across prices and horizons. Compare scenarios using the same contract roots, expiration times, and position state.

For full strategies with analysis, visit the Deltaray blog. The Strategy Library provides examples you can open in MesoSim.