mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-13 12:51:49 +00:00
* fix(docs): added margin between sections * fix: images * readd old content for examples/images * fix: codespell * fix: codespell * fix: ga * fix: remove temp lorem ipsum * fix: docu config for edit page Co-authored-by: teh_coderer <me@tehcoderer.com>
517 B
Vendored
517 B
Vendored
title, description
| title | description |
|---|---|
| whatif | OpenBB Terminal Function |
whatif
Displays what if scenario of having bought X shares at date Y
Usage
usage: whatif [-d DATE_SHARES_ACQUIRED] [-n NUM_SHARES_ACQUIRED]
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| date_shares_acquired | Date at which the shares were acquired | None | True | None |
| num_shares_acquired | Number of shares acquired | 1.0 | True | None |