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

Fix example to have correct params #700

Merged
merged 2 commits into from
Jul 2, 2024
Merged

Conversation

justinpolygon
Copy link
Contributor

@justinpolygon justinpolygon commented Jul 2, 2024

Fixed the example to have the correct params. You cannot pass date eq (timestamp=) with a less than (timestamp.lt=). It needs to be either or.

polygon.exceptions.BadResponse: {"status":"ERROR","request_id":"71f9a7ec439a46e7884c38c893daddcc","error":"failed to parse timestamp query params: query parameters cannot have the combination of equal and any other param gt, gte, lt, lte"}

Fixed the example to just pass the date.

@justinpolygon justinpolygon merged commit 479cca3 into master Jul 2, 2024
9 checks passed
@justinpolygon justinpolygon deleted the jw-fix-raw-example branch July 2, 2024 13:51
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