Update README.md
Browse files
README.md
CHANGED
@@ -17,6 +17,30 @@ pretty_name: USA options implied volatility features for machine learning
|
|
17 |
size_categories:
|
18 |
- 1M<n<10M
|
19 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
The dataset provided includes a variety of features and targets. In machine learning and predictive modeling, features are the input variables used to predict target variables, or the outcomes we're interested in predicting.
|
21 |
|
22 |
The features in this dataset encompass all of the data columns except for DITM_IV, ITM_IV, sITM_IV, ATM_IV, sOTM_IV, OTM_IV, and DOTM_IV. These features include data on traded contracts, open interest, the spread of strike prices, and the number of different expiration dates, among others. These features can be used to understand the characteristics of the security's options and their trading activity.
|
|
|
17 |
size_categories:
|
18 |
- 1M<n<10M
|
19 |
---
|
20 |
+
|
21 |
+
# Downloading the Options IV SP500 Dataset
|
22 |
+
|
23 |
+
This document will guide you through the steps to download the Options IV SP500 dataset from Hugging Face Datasets. This dataset includes data on the options of the S&P 500, including implied volatility.
|
24 |
+
|
25 |
+
To start, you'll need to install Hugging Face's `datasets` library if you haven't done so already. You can do this using the following pip command:
|
26 |
+
|
27 |
+
```python
|
28 |
+
!pip install datasets
|
29 |
+
```
|
30 |
+
|
31 |
+
Here's the Python code to load the Options IV SP500 dataset from Hugging Face Datasets and convert it into a pandas DataFrame:
|
32 |
+
|
33 |
+
```python
|
34 |
+
from datasets import load_dataset
|
35 |
+
import pandas as pd
|
36 |
+
|
37 |
+
id = "gauss314/options-IV-SP500"
|
38 |
+
data_iv = load_dataset(id)
|
39 |
+
df_iv = pd.DataFrame(data_iv['train'])
|
40 |
+
```
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
The dataset provided includes a variety of features and targets. In machine learning and predictive modeling, features are the input variables used to predict target variables, or the outcomes we're interested in predicting.
|
45 |
|
46 |
The features in this dataset encompass all of the data columns except for DITM_IV, ITM_IV, sITM_IV, ATM_IV, sOTM_IV, OTM_IV, and DOTM_IV. These features include data on traded contracts, open interest, the spread of strike prices, and the number of different expiration dates, among others. These features can be used to understand the characteristics of the security's options and their trading activity.
|