polygon-io / client-js

The official JS client library for the Polygon REST and WebSocket API.
MIT License
190 stars 59 forks source link

fix: missing timeframe `ttm` in stock financials #195

Open hsynlms opened 4 months ago

hsynlms commented 4 months ago

As documented here: https://polygon.io/docs/stocks/get_vx_reference_financials

The timeframe parameter in stock financials endpoint has three possible values: annual, quarterly, and ttm

But JS client has no support for ttm option. This PR fixes it.