chains
Display option chains
Usage
chains [-c] [-p] [-m MIN_SP] [-M MAX_SP] [-d TO_DISPLAY] [-e {2023-09-15,2023-09-22,2023-09-29,2023-10-06,2023-10-13,2023-10-20,2023-10-27,2023-11-17,2023-12-15,2024-01-19,2024-02-16,2024-03-15,2024-04-19,2024-06-21,2024-09-20,2024-12-20,2025-01-17,2025-06-20,2025-12-19,}]
Parameters
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
calls | -c --calls | Flag to show calls only | False | True | None |
puts | -p --puts | Flag to show puts only | False | True | None |
min_sp | -m --min | minimum strike price to consider. | -1 | True | None |
max_sp | -M --max | maximum strike price to consider. | -1 | True | None |
to_display | -d --display | Columns to display | contractSymbol,optionType,expiration,strike,lastPrice,bid,ask,openInterest,volume,impliedVolatility | True | None |
exp | -e --expiration | Select expiration date (YYYY-MM-DD) | True | 2023-09-15, 2023-09-22, 2023-09-29, 2023-10-06, 2023-10-13, 2023-10-20, 2023-10-27, 2023-11-17, 2023-12-15, 2024-01-19, 2024-02-16, 2024-03-15, 2024-04-19, 2024-06-21, 2024-09-20, 2024-12-20, 2025-01-17, 2025-06-20, 2025-12-19, |