Skip to main content

oi

Plot open interest. Open interest represents the number of contracts that exist.

Usage

oi [-m MIN] [-M MAX] [-c] [-p] [-e {2024-03-28,2024-04-05,2024-04-12,2024-04-19,2024-04-26,2024-05-03,2024-05-17,2024-06-21,2024-07-19,2024-08-16,2024-09-20,2024-10-18,2024-11-15,2024-12-20,2025-01-17,2025-03-21,2025-06-20,2025-09-19,2025-12-19,2026-01-16,2026-06-18,2026-12-18,}]

Parameters

NameParameterDescriptionDefaultOptionalChoices
min-m --minMin strike to plot-1TrueNone
max-M --maxMax strike to plot-1TrueNone
calls-c --callsFlag to plot call options onlyFalseTrueNone
puts-p --putsFlag to plot put options onlyFalseTrueNone
exp-e --expirationSelect expiration date (YYYY-MM-DD)True2024-03-28, 2024-04-05, 2024-04-12, 2024-04-19, 2024-04-26, 2024-05-03, 2024-05-17, 2024-06-21, 2024-07-19, 2024-08-16, 2024-09-20, 2024-10-18, 2024-11-15, 2024-12-20, 2025-01-17, 2025-03-21, 2025-06-20, 2025-09-19, 2025-12-19, 2026-01-16, 2026-06-18, 2026-12-18,

Examples

2022 Feb 16, 09:13 (🦋) /stocks/options/ $ load SPY

2022 Feb 16, 09:14 (🦋) /stocks/options/ $ exp 10
Expiration set to 2022-03-11

2022 Feb 16, 09:14 (🦋) /stocks/options/ $ oi

oi