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 of "lastTrade.exchange" in the stocks snapshot API response #93

Open v3rm0n opened 1 year ago

v3rm0n commented 1 year ago

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

justinpolygon commented 1 year ago

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

v3rm0n commented 10 months ago

Any plans on fixing this?