mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-27 11:41: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>
60 lines
1.4 KiB
Markdown
Vendored
60 lines
1.4 KiB
Markdown
Vendored
---
|
|
title: exp
|
|
description: OpenBB Terminal Function
|
|
---
|
|
|
|
# exp
|
|
|
|
See and set expiration date
|
|
|
|
### Usage
|
|
|
|
```python
|
|
exp [-i {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17}] [-d {2022-11-25,2022-12-02,2022-12-09,2022-12-16,2022-12-23,2022-12-30,2023-01-20,2023-02-17,2023-03-17,2023-04-21,2023-05-19,2023-06-16,2023-07-21,2023-09-15,2024-01-19,2024-03-15,2024-06-21,2025-01-17,}]
|
|
```
|
|
|
|
---
|
|
|
|
## Parameters
|
|
|
|
| Name | Description | Default | Optional | Choices |
|
|
| ---- | ----------- | ------- | -------- | ------- |
|
|
| index | Select index for expiry date. | -1 | True | range(0, 18) |
|
|
| date | Select date (YYYY-MM-DD) | | True | 2022-11-25, 2022-12-02, 2022-12-09, 2022-12-16, 2022-12-23, 2022-12-30, 2023-01-20, 2023-02-17, 2023-03-17, 2023-04-21, 2023-05-19, 2023-06-16, 2023-07-21, 2023-09-15, 2024-01-19, 2024-03-15, 2024-06-21, 2025-01-17, |
|
|
|
|
|
|
---
|
|
|
|
## Examples
|
|
|
|
```python
|
|
2022 Feb 16, 08:50 (🦋) /stocks/options/ $ exp
|
|
|
|
Available expiry dates:
|
|
0. 2022-02-18
|
|
1. 2022-02-25
|
|
2. 2022-03-04
|
|
3. 2022-03-11
|
|
4. 2022-03-18
|
|
5. 2022-03-25
|
|
6. 2022-04-01
|
|
7. 2022-04-14
|
|
8. 2022-05-20
|
|
9. 2022-06-17
|
|
10. 2022-07-15
|
|
11. 2022-08-19
|
|
12. 2022-09-16
|
|
13. 2022-10-21
|
|
14. 2022-11-18
|
|
15. 2022-12-16
|
|
16. 2023-01-20
|
|
17. 2023-03-17
|
|
18. 2023-06-16
|
|
19. 2023-09-15
|
|
20. 2024-01-19
|
|
|
|
2022 Feb 16, 08:50 (🦋) /stocks/options/ $ exp 7
|
|
Expiration set to 2022-04-14
|
|
```
|
|
---
|