Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nan in the futures data? #36

Open
githubbla opened this issue Aug 16, 2024 · 1 comment
Open

nan in the futures data? #36

githubbla opened this issue Aug 16, 2024 · 1 comment

Comments

@githubbla
Copy link

I was reviewing the quality of our dataset and noticed that there are some dates with missing values. Specifically, when analyzing the data for certain VIX futures, I found instances where the Close prices are missing.

Here’s the code snippet I used to identify the issue:

`close2=vix_futures_wide.swaplevel(axis=1)[vix_futures_wide.swaplevel(axis=1)["Close"][1.5].isna()]["Close"]

close2.tail(2000)`

Screenshot 2024-08-16 at 12 04 00

This code checks for NaN values in the Close column for a specific tenor (1.5). The tail(2000) method was used to inspect the most recent records with missing values.

Has anyone else encountered missing data in these fields? Any insights on why these dates might be missing, or how best to handle them, would be greatly appreciated.

@gnzsnz
Copy link
Contributor

gnzsnz commented Sep 23, 2024

@githubbla have you checked the source files from cboe? if the data is not available on cboe, then i wouldn't expect it to be available on this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants