mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-24 02:02:32 +00:00
* Update generate_terminal_markdown.py * updates * update workflows * Automated Change * tests * tests * Automated Change * Update test_generate_docs.py * Automated Change * updates * Automated Change * Update gen-docs.yml * Update test.yml * Automated Change * Update test.yml * Automated Change * Update generate_sdk_markdown.py * Automated Change * test * Automated Change * testtt23 * Automated Change * Update generate_sdk_markdown.py * Automated Change * Automated Change * added empting reference folders before autogen docs * updates * Automated Change * update tests gitactions * Automated Change * up * Automated Change * Automated Change * update pytest * Automated Change * tests * Automated Change * examples update * Automated Change * Update generate_sdk_markdown.py * Automated Change * Update test.yml * Update generate_sdk_markdown.py * strip * Automated Change * Workflow : check test update * Automated Change * Automated Change * Automated Change * Update test.yml * Automated Change * Update test.yml * Automated Change * Automated Change * up * Automated Change * Update generate_sdk_markdown.py * Automated Change * update workflows * fix guides * testing * Update gh-pages.yml * Update gh-pages.yml Co-authored-by: tehcoderer <tehcoderer@users.noreply.github.com> Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com> Co-authored-by: Chavithra PARANA <chavithra@gmail.com> Co-authored-by: Chavithra <Chavithra@users.noreply.github.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
4.8 KiB
Vendored
4.8 KiB
Vendored
title, description
| title | description |
|---|---|
| rnval | OpenBB Terminal Function |
rnval
The risk neutral value of the options
Usage
rnval [-p] [-m MINI] [-M MAXI] [-r RISK]
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| put | Show puts instead of calls | False | True | None |
| mini | Minimum strike price shown | None | True | None |
| maxi | Maximum strike price shown | None | True | None |
| risk | The risk-free rate to use | None | True | None |
Examples
2022 Feb 16, 09:45 (🦋) /stocks/options/pricing/ $ add -p 100 -c 0.5
2022 Feb 16, 09:46 (🦋) /stocks/options/pricing/ $ add -p 200 -c 0.5
2022 Feb 16, 09:46 (🦋) /stocks/options/pricing/ $ show
Estimated price(s) of AAPL at 2022-05-20
┏━━━━━━━━┳━━━━━━━━┓
┃ Price ┃ Chance ┃
┡━━━━━━━━╇━━━━━━━━┩
│ 100.00 │ 0.50 │
├────────┼────────┤
│ 200.00 │ 0.50 │
└────────┴────────┘
2022 Feb 16, 09:46 (🦋) /stocks/options/pricing/ $ rnval
Risk Neutral Values
┏━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━┓
┃ Strike ┃ Last Price ┃ Value ┃ Difference ┃
┡━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━┩
│ 120.00 │ 53.25 │ 39.99 │ 13.26 │
├────────┼────────────┼───────┼────────────┤
│ 125.00 │ 48.11 │ 37.49 │ 10.62 │
├────────┼────────────┼───────┼────────────┤
│ 130.00 │ 43.80 │ 34.99 │ 8.81 │
├────────┼────────────┼───────┼────────────┤
│ 135.00 │ 37.71 │ 32.49 │ 5.22 │
├────────┼────────────┼───────┼────────────┤
│ 140.00 │ 35.00 │ 29.99 │ 5.01 │
├────────┼────────────┼───────┼────────────┤
│ 145.00 │ 30.35 │ 27.49 │ 2.86 │
├────────┼────────────┼───────┼────────────┤
│ 150.00 │ 26.30 │ 24.99 │ 1.31 │
├────────┼────────────┼───────┼────────────┤
│ 155.00 │ 22.35 │ 22.49 │ -0.14 │
├────────┼────────────┼───────┼────────────┤
│ 160.00 │ 18.30 │ 19.99 │ -1.69 │
├────────┼────────────┼───────┼────────────┤
│ 165.00 │ 15.00 │ 17.50 │ -2.50 │
├────────┼────────────┼───────┼────────────┤
│ 170.00 │ 11.35 │ 15.00 │ -3.65 │
├────────┼────────────┼───────┼────────────┤
│ 175.00 │ 8.65 │ 12.50 │ -3.85 │
├────────┼────────────┼───────┼────────────┤
│ 180.00 │ 6.70 │ 10.00 │ -3.30 │
├────────┼────────────┼───────┼────────────┤
│ 185.00 │ 4.60 │ 7.50 │ -2.90 │
├────────┼────────────┼───────┼────────────┤
│ 190.00 │ 3.25 │ 5.00 │ -1.75 │
├────────┼────────────┼───────┼────────────┤
│ 195.00 │ 2.29 │ 2.50 │ -0.21 │
├────────┼────────────┼───────┼────────────┤
│ 200.00 │ 1.59 │ 0.00 │ 1.59 │
├────────┼────────────┼───────┼────────────┤
│ 210.00 │ 0.70 │ 0.00 │ 0.70 │
└────────┴────────────┴───────┴────────────┘