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
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
min | -m --min | Min strike to plot | -1 | True | None |
max | -M --max | Max strike to plot | -1 | True | None |
calls | -c --calls | Flag to plot call options only | False | True | None |
puts | -p --puts | Flag to plot put options only | False | True | None |
exp | -e --expiration | Select expiration date (YYYY-MM-DD) | True | 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, |
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