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

Retrieve high, low close price over last hour #456

Open
danielvh8 opened this issue Aug 14, 2021 · 1 comment
Open

Retrieve high, low close price over last hour #456

danielvh8 opened this issue Aug 14, 2021 · 1 comment

Comments

@danielvh8
Copy link

I'm looking to query the high, low and closing price for each hour. So far, the only way I see to accomplish this is by calling .get_product_historic_rates() every hour. However, it is discouraged by the documentation to poll the historic rates frequently. Can someone explain why that is and how I might continue?

@smbrandonjr
Copy link

Per the API doc the rate limit for public endpoints by IP is 10 requests per second, up to 15 requests per second in bursts. If you are getting the historical rates once an hour then I don't think that is an issue.

With that said, the alternative is to use the websocket feed.

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