Skip to main content

calc

Calculate profit or loss for given option settings.

Usage

calc [--put] [--sell] [-s STRIKE] [-p PREMIUM] [-m MIN] [-M MAX]

Parameters

NameParameterDescriptionDefaultOptionalChoices
put--putFlag to calculate put optionFalseTrueNone
sell--sellFlag to get profit chart of selling contractFalseTrueNone
strike-s --strikeOption strike price10TrueNone
premium-p --premiumPremium price1TrueNone
min-m --minMin price to look at-1TrueNone
max-M --maxMax price to look at-1TrueNone

Examples

2022 Feb 16, 08:45 (🦋) /stocks/options/ $ calc -s 30 -p 6 -m 1 -M 50

Strike: $30.0
Premium: $6.0
Breakeven price: $36.0
Max profit: Unlimited
Max loss: $-600.0

calc