danpaquin/coinbasepro-python

Retrieve high, low close price over last hour

danielvh8 opened this issue · 1 comments

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?

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.