client-jvm icon indicating copy to clipboard operation
client-jvm copied to clipboard

Incorrect mapping of "lastTrade.exchange" in the stocks snapshot API response

Open v3rm0n opened this issue 2 years ago • 2 comments

In the code, e is specified as an exchangeId: https://github.com/polygon-io/client-jvm/blob/master/src/main/kotlin/io/polygon/kotlin/sdk/rest/stocks/Snapshots.kt#L90

In the API docs it is x, as it is in the actual API response https://polygon.io/docs/stocks/get_v2_snapshot_locale_us_markets_stocks_tickers

v3rm0n avatar May 12 '23 09:05 v3rm0n

Hey @v3rm0n, thanks for the heads up. I'll check this out.

justinpolygon avatar May 12 '23 17:05 justinpolygon

Any plans on fixing this?

v3rm0n avatar Nov 09 '23 08:11 v3rm0n