--- title: whatif description: OpenBB Terminal Function --- # whatif Displays what if scenario of having bought X shares at date Y ### Usage ```python 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 | ---