polygon-io / issues

Quickly track and report problems with polygon.io
29 stars 0 forks source link

Stock aggregates results arbitrarily cut off #229

Closed imhungryforpizza closed 1 year ago

imhungryforpizza commented 1 year ago

URL https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/hour/2020-01-01/2022-12-01?adjusted=false&sort=asc&limit=1000&apiKey={API_KEY}

Result I am getting 20 results (hourly aggregates), ending on January 3, 2020, 7AM.

Expected Result I am asking for hourly aggregates from the ~3 year period between January 1, 2020 and December 1, 2022. I was expecting 1000 results, as there are more than 1000 trading hours for this popular stock during this time period. I was expecting exactly 1000 because my limit is set to 1000.

Screenshots No screenshot

Desktop (please complete the following information):

Additional context I am currently subscribed to the Stocks > Starter package. I uploaded a gist which hopefully exhibits the issue. Also I wanted to say that I really like the product and wish you folks the best. I see your CEO engaging with people on Reddit and as someone who works at a small startup, I can respect the courage in dealing with the public.

imhungryforpizza commented 1 year ago

I see the addendum in https://polygon.io/blog/aggs-api-updates/.