Skip to content
Front pageRaman Lamba

Finance · Web

Options Strategy Simulator

Solo project

A game on real NSE F&O data: pick a strategy, then see realized P&L for all ten.

Key figures

By the numbers

  • 10strategies scored per round
  • 2019-24NSE data window

The problem

Options strategies are hard to learn from textbooks. This game shows a real historical setup, lets you pick a strategy, then reveals how all ten would have done.

Who it is for

Students and new traders who know the payoff diagrams but have never watched a strategy play out through a real expiry.

Decisions and trade-offs

The approach

A Python pipeline fetches NSE F&O data from 2019 to 2024 and builds a pool of historical scenarios spread across market regimes, loaded into Supabase. A Next.js front end runs the rounds, and the backend scores all ten strategies using real entry premiums and the actual expiry settlement.

The result

A single-player learning game: ten rounds per playthrough, realized P&L for every strategy each round, your pick ranked against the rest, and a shared leaderboard.

How I would measure it

Completion: the share of players who finish all ten rounds. Learning: whether a returning player's pick ranks higher among the ten strategies than it did on their first playthrough.

Built with

Figures

Result screen of the options simulator: ten strategies ranked by profit and loss for one round, with the player's Long Call second.
Round 1 result: a Long Call on HDFCBANK in the May 2022 crash ranked second of ten strategies.

Play the game