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

long load time #9

Open
dougransom opened this issue Mar 11, 2023 · 0 comments
Open

long load time #9

dougransom opened this issue Mar 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dougransom
Copy link
Owner

dougransom commented Mar 11, 2023

It take awhile to load the data into a dataframe for the futures history, even though most of it is cached.

Any futures which are not expired, are read every time a program is run (at least the results are cached for the remainder of the program).

some logic to avoid rebuilding the dataframe, as long as all futures downloaded are current to the end of the most recent close of trading, would speed this up immensely.

I think the easiest way to to look at the last trade date in the cached data stored in skinny.pkl.

Only if the most recent close of trading is more recent that the last recorded trade date (say be 30 minutes since there will be delay before CBOE publishes the current day), then rebuild the dataframe in async_load_vix_term_structure.

@dougransom dougransom added the enhancement New feature or request label Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant