Synopsis
opscan scan [-d] [--output-format=<outputOption>] [-s=<sortBy>] SYMBOL [COMMAND]
Arguments
- SYMBOL
-
The stock symbol to scan, e.g. SPY
Commands
- short-vertical, sv, credit-spread, cs
-
Search for a short vertical / credit spread
- long-vertical, lv, debit-spread, ds
-
Search for a long vertical / debit spread
- short-put, sp, csp, naked-put, np
-
Search for a short put / cash-secured put
- short-call, sc, cc, naked-call, nc
-
Search for a short call / covered call
Examples
Scan and output in TABLE mode
Basic
opscan scan --output-format=TABLE SPY csp
Non-default sorting
opscan scan --output-format=TABLE --sort-by=premium SPY csp
Reverse sorting
opscan scan --output-format=TABLE --sort-by=premium --sort-descending SPY csp
Scan and output in CSV mode
opscan scan --output-format=CSV SPY csp
Options
- -d, --sort-descending
-
In TABLE or CSV output mode, reverse the sort order. Ignored in other modes.
- --output-format=<outputOption>
-
How to format the results. Other options TABLE and CSV.
Default: LIST
- -s, --sort-by=<sortBy>
-
In TABLE or CSV output mode, what column to sort by. Ignored in other modes.
Default: