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
- Real NSE data over simulated prices. Simulated paths are easier to build, but a result teaches more when it actually happened.
- Score all ten strategies every round, not only the one picked. The lesson is in the comparison: you see what you gave up.
- Scenarios spread across market regimes, so a playthrough is not ten rounds of the same market.
- Ten rounds and a shared leaderboard: short enough to finish in one sitting, with a reason to come back.
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
- Python
- Supabase
- Next.js
Figures
