mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 16:02:04 +00:00
* Push some changes towards updated Hugo Server * More hugo server refactoring * Update Hugo Server website with stock context and economy context * Small bugs fixes * Add ETF, options and PO to Hugo Server * More bugfixes * Add crypto hugo server * Improve docs * merge bugs fixed
675 B
Vendored
675 B
Vendored
usage: calc [--put] [--sell] [-s STRIKE] [-p PREMIUM] [-m MIN] [-M MAX] [-h]
Calculate profit or loss for given option settings.
optional arguments:
--put Flag to calculate put option (default: False)
--sell Flag to get profit chart of selling contract (default: False)
-s STRIKE, --strike STRIKE
Option strike price (default: 10)
-p PREMIUM, --premium PREMIUM
Premium price (default: 1)
-m MIN, --min MIN Min price to look at (default: -1)
-M MAX, --max MAX Max price to look at (default: -1)
-h, --help show this help message (default: False)