mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
* Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * This is not a function on CA * Update _index.md * Update _index.md * Update _index.md * Update _index.md * This command does not exist on CA * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Type in dcf help text * Missing the index on dividends function * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Missing index * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Fix missing index * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Fix missing index * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * doesn't exists The command 'disp' doesn't exist on the /stocks/options/ menu. 2022 Feb 16, 08:49 (✨) /stocks/options/ $ disp usage: options {calc,yf,tr,info,pcr,load,exp,vol,voi,oi,hist,chains,grhist,unu,plot,parity,binom,vsurf,greeks,payoff,pricing,screen,cls,home,h,?,help,q,quit,..,exit,r,reset} options: error: argument cmd: invalid choice: 'disp' (choose from 'calc', 'yf', 'tr', 'info', 'pcr', 'load', 'exp', 'vol', 'voi', 'oi', 'hist', 'chains', 'grhist', 'unu', 'plot', 'parity', 'binom', 'vsurf', 'greeks', 'payoff', 'pricing', 'screen', 'cls', 'home', 'h', '?', 'help', 'q', 'quit', '..', 'exit', 'r', 'reset') The command 'disp' doesn't exist on the /stocks/options/ menu. 2022 Feb 16, 08:49 (✨) /stocks/options/ $ * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Create _index.md * Create _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update and rename website/content/common/quantitative_analysis/data/_index.md to website/content/common/quantitative_analysis/raw/_index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Black formatting * Update _index.md * Update _index.md * small ba edits * black formatting code * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * black formatting code + mc axes * Update _index.md * Update _index.md * Update _index.md * regression * regression * Update _index.md * codespell * codespell * flake8 fix Co-authored-by: Jeroen Bouma <jeroenbouma@MacBook-Pro-van-Jeroen.local> Co-authored-by: jmaslek <jmaslek11@gmail.com>
1.2 KiB
Executable File
Vendored
1.2 KiB
Executable File
Vendored
usage: whatif [-d DATE_SHARES_ACQUIRED] [-n NUM_SHARES_ACQUIRED] [-h]
Displays what if scenario of having bought X shares at date Y
optional arguments:
-d DATE_SHARES_ACQUIRED, --date DATE_SHARES_ACQUIRED
Date at which the shares were acquired (default: None)
-n NUM_SHARES_ACQUIRED, --number NUM_SHARES_ACQUIRED
Number of shares acquired (default: 1.0)
-h, --help show this help message (default: False)
Example:
2022 Feb 16, 10:05 (✨) /stocks/bt/ $ whatif -d 2020-01-01 -n 100
If you had acquired 100 shares of MSFT on 2020-01-01 with a cost of 15761.51.
These would be worth 29462.01. Which represents an increase of 86.92%.
2022 Feb 16, 10:05 (✨) /stocks/bt/ $ whatif -d 2010-01-01 -n 100
If you had acquired 100 shares of MSFT on 2010-01-01 with a cost of 2390.50.
These would be worth 29444.00. Which represents an increase of 1131.71%.
2022 Feb 16, 10:05 (✨) /stocks/bt/ $ whatif -d 2000-01-01 -n 100
If you had acquired 100 shares of MSFT on 2000-01-01 with a cost of 3679.42.
These would be worth 29450.00. Which represents an increase of 700.40%.
2022 Feb 16, 10:05 (✨) /stocks/bt/ $