Crates.io | wsb-rs |
lib.rs | wsb-rs |
version | 0.1.2 |
source | src |
created_at | 2023-07-24 04:21:16.395304 |
updated_at | 2023-07-25 16:02:21.051802 |
description | Calculates when your options will print. |
homepage | |
repository | |
max_upload_size | |
id | 924234 |
size | 9,376 |
Calculates and prints a spread table of puts and calls, along with their updated valuations at different price points.
Usage: wbs-rs <STRIKE_PRICE> <CONTRACT_PRICE> <NUM_CONTRACTS = 1>
Arguments:
<STRIKE_PRICE> Stock strike price.
<CONTRACT_PRICE> Price of contract.
<NUM_CONTRACTS> Number of contracts (default 1).
$ wsb-rs 55 4.85 3
Strike price: $55
Price per contract: $4.85
Number of contracts: 3
Premium: $1455
Price: Profit:
------------------------------------
$5.50 | $13395.00
------------------------------------
$11.00 | $11745.00
------------------------------------
$16.50 | $10095.00
------------------------------------
$22.00 | $8445.00
------------------------------------
$27.50 | $6795.00
------------------------------------
$33.00 | $5145.00
------------------------------------
$38.50 | $3495.00
------------------------------------
$44.00 | $1845.00
------------------------------------
$49.50 | $195.00
------------------------------------
$55
------------------------------------
$60.50 | $195.00
------------------------------------
$66.00 | $1845.00
------------------------------------
$71.50 | $3495.00
------------------------------------
$77.00 | $5145.00
------------------------------------
$82.50 | $6795.00
------------------------------------
$88.00 | $8445.00
------------------------------------
$93.50 | $10095.00
------------------------------------
$99.00 | $11745.00
------------------------------------
$104.50 | $13395.00
------------------------------------