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

parsing multiple contract expiration timestring formats #1471

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

fhill2
Copy link
Contributor

@fhill2 fhill2 commented Jan 25, 2024

Pull Request

Most exchanges have FUT / FOP contracts with expiration date as %Y%m%d format.

Some exchanges, (IPE, ICEEU, LMEOTC) have contracts with expiration date %Y%m%d %H:%M:%S %Z. These contracts error on pd.to_datetime() as the format argument is incorrect.

This change parses contracts with the alternate expiration date.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@cjdsellers cjdsellers merged commit 2c64a97 into nautechsystems:develop Jan 26, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants