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 {2023-03-03,2023-03-10,2023-03-17,2023-03-24,2023-03-31,2023-04-06,2023-04-21,2023-05-19,2023-06-16,2023-07-21,2023-08-18,2023-09-15,2023-10-20,2023-12-15,2024-01-19,2024-03-15,2024-06-21,2024-09-20,2025-01-17,2025-06-20,2025-12-19,}]

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)True2023-03-03, 2023-03-10, 2023-03-17, 2023-03-24, 2023-03-31, 2023-04-06, 2023-04-21, 2023-05-19, 2023-06-16, 2023-07-21, 2023-08-18, 2023-09-15, 2023-10-20, 2023-12-15, 2024-01-19, 2024-03-15, 2024-06-21, 2024-09-20, 2025-01-17, 2025-06-20, 2025-12-19,

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