polygon-io / client-jvm

The official JVM client library SDK, written in Kotlin, for accessing the Polygon REST and WebSocket API.
49 stars 33 forks source link

Incorrect mapping for FinancialsBlocking request #197

Open dmitriy-liandres opened 3 months ago

dmitriy-liandres commented 3 months ago

The code PolygonRestClient polygonRestClient = new PolygonRestClient("KEY"); List<Financials> financials = polygonRestClient.getExperimentalClient().getFinancialsBlocking( new FinancialsParametersBuilder().ticker("AAPL").timeframe("quarterly").limit(10).build() ).getResults(); always return empty balanceSheet and comprehensiveIncome while the direct call https://api.polygon.io/vX/reference/financials?ticker=AAPL&timeframe=quarterly&limit=1&sort=filing_date&apiKey=KEY return these fields.