Mercurial > public > python-black-scholes
comparison README.md @ 11:9ef6b3cc8bdf
update readme
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Wed, 02 Feb 2022 21:15:03 +0100 |
parents | 6f9a6fc6d4d9 |
children | 9995dce9461d |
comparison
equal
deleted
inserted
replaced
10:8045763aecda | 11:9ef6b3cc8bdf |
---|---|
4 understand the Black-Scholes model, I built this simple command line tool. Which is far more interesting than memorizing | 4 understand the Black-Scholes model, I built this simple command line tool. Which is far more interesting than memorizing |
5 stupid stuff from the professor's slides. | 5 stupid stuff from the professor's slides. |
6 | 6 |
7 ## Installation | 7 ## Installation |
8 | 8 |
9 ### Using pip | |
10 | |
9 ```bash | 11 ```bash |
10 pip install fucking-black-scholes | 12 pip3 install fucking-black-scholes |
11 ``` | 13 ``` |
12 | 14 |
13 ## Usage | 15 ## Usage |
14 | 16 |
15 ```bash | 17 ```bash |
24 - Risk free rate = 5% | 26 - Risk free rate = 5% |
25 - Standard deviation = 25% | 27 - Standard deviation = 25% |
26 - Time to expiration = 6 months | 28 - Time to expiration = 6 months |
27 | 29 |
28 #### Command | 30 #### Command |
31 | |
29 ```bash | 32 ```bash |
30 fbs \ | 33 fbs \ |
31 --spot-price=20.00 \ | 34 --spot-price=20.00 \ |
32 --exercise-price=21.00 \ | 35 --exercise-price=21.00 \ |
33 --risk-free-rate=0.05 \ | 36 --risk-free-rate=0.05 \ |