Files
OpenBB/website/content/terminal/reference/stocks/options/exp.md
DidierRLopes 4ad995fdd0 Docs/terminalpro and improvement (#5622)
* add first iteration of content for Terminal Pro

* Update index.md

* Update dashboards.md

* Update folders.md

* Update grouping.md

* Update report.md

* Update templates.md

* Update quick-start.md

* Update index.md

* Update index.md

* Update home.md

* Update news.md

* Update index.md

* Update index.md

* Update index.md

* Update data-provider.md

* Update chat-with-widget.md

* Update data-manipulation.md

* Update forecasting.md

* fix: images self closing tags

* fix: only pro visitors can see pro

* inter font

* improve SEO content and restructuring

* add new package for toggle on tutorials

* move folder around

* improve main page of each prod

* small updates and improvements

* fix logo above

* small improvement in headtitle for portfolio funcs

* fix typos from OpenAI's GPT-4

* fix _category_ json

* remove generic SEO words

* add script that generates SEO for documentation

* add missing file

* remove sdk warning message

* fix links for andrew

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-10-30 21:01:29 +00:00

73 lines
1.9 KiB
Markdown
Vendored

---
title: exp
description: The 'exp' page provides comprehensive details on setting expiration dates
using the 'exp' command in Python. It includes information on usage, parameters,
and examples to assist users in understanding and effectively managing dates.
keywords:
- exp documentation
- expiration date setting
- expiry date tool
- expiry date parameters
- exp usage
- exp examples
- exp command
- exp date selection
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
<HeadTitle title="stocks/options/exp - Reference | OpenBB Terminal Docs" />
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
```
---