Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
v3rm0n opened this issue May 12, 2023 · 2 comments
Assignees

Comments

@v3rm0n
Copy link

v3rm0n commented May 12, 2023

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
Copy link
Contributor

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

@justinpolygon justinpolygon self-assigned this May 12, 2023
@v3rm0n
Copy link
Author

v3rm0n commented Nov 9, 2023

Any plans on fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants