MiniCTRMSearch

MiniCTRM - Build Tutorial 702: Implied volatility from the exchange's option settlement prices

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

Option contract codes on the futures codes with their months and expiries; the exchange's option settlement prices loaded each evening through the CSV pipeline with rejections and flags; one implied volatility solver on lesson 662's pricer with hand-checked tests; a smile and an at-the-money strip per option month, stored as runs and shown beside the desk's marks; an index's strip marked from the exchange each night with each month's source; and, if you choose, options valued at their own strike's volatility and an early-exercise comparison.

  • Why MiniCTRM keeps desk marks – MiniCTRM keeps no option settlement prices and solves for no implied volatility; the reasons.
  • What you need first – Futures codes and the calendar, settlement prices, the CSV pipeline, the discount curve and the pricer, reused unchanged.
  • From a settlement price to a volatility – What the exchange publishes; Black-76 backwards; which prices to trust; a smile and one number per month.
  • Five prompts – Option contract codes; the settlement prices; the solver; the smile and the strip; marks from the exchange.
  • Bells and whistles – An optional prompt for the smile in the pricer and early exercise, and a list of further extras.
  • Ship it – /ship, with the hand-checked solver tests among the rest.
  • How MiniCTRM does it – Option Contract Codes, Settlement Prices with no strike, and the strips a firm feeds in.

Before you start

The lessons this one builds on: 542 Market data: forward curves, FX, settlement prices and closes, 601 Valuation and reports: mark-to-market, valuation runs, position, day-over-day change, 621 End of day: close the market, run the valuation, automate the night, 623 Integrations: CSV in and out, feed adapters and the API, 631 Performance: compress market data, keep a save fast, 662 Options: volatility, Black-76, the premium as a fee, and the Greeks, 663 Futures: contract codes, the contract calendar, lots and expiry.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

The market's own volatility

1 / 16
The market's own volatility
Why MiniCTRM keeps desk marks

Why MiniCTRM keeps desk marks

2 / 16
Why MiniCTRM keeps desk marks
What you need first

What you need first

3 / 16
What you need first
From a settlement price to a volatility

What the exchange publishes

4 / 16
What the exchange publishes
From a settlement price to a volatility

Black-76, run backwards

5 / 16
Black-76, run backwards
From a settlement price to a volatility

Which prices to trust, and one number per month

6 / 16
Which prices to trust, and one number per month
Five prompts

Option contract codes

7 / 16
Option contract codes
Five prompts

Option settlement prices

8 / 16
Option settlement prices
Five prompts

The implied volatility solver

9 / 16
The implied volatility solver
Five prompts

The smile and the at-the-money strip

10 / 16
The smile and the at-the-money strip
Five prompts

Marks from the exchange

11 / 16
Marks from the exchange
Bells and whistles

Bells and whistles

12 / 16
Bells and whistles
Ship it

Ship it

13 / 16
Ship it
How MiniCTRM does it

Option Contract Codes and Settlement Prices

14 / 16
Option Contract Codes and Settlement Prices
How MiniCTRM does it

Volatility: the strips a firm feeds in

15 / 16
Volatility: the strips a firm feeds in
What you have now

What you have now

16 / 16
What you have now

You have finished lesson 702, Implied volatility from the exchange's option settlement prices.

Where next?

← → move · N notes · Home / End