Releases: polygon-io/client-jvm
Request options, iterators, and refreshed APIs
Lot's of new things in this release!
- Deprecated many functions calling deprecated API endpoints
- Added support for many new APIs that were missing from this library
- Support for per-request options
- Automatic pagination through iterators
What's Changed
- rest api options by @mmoghaddam385 in #39
- launchpad helpers by @mmoghaddam385 in #41
- iterator PoC on tickers API by @mmoghaddam385 in #42
- V3 Trades Endpoint w/ Iterator by @HunterL in #43
- Deprecate getHistoricTrades in stocks & crypto by @HunterL in #44
- deprecated unsupported reference APIs by @mmoghaddam385 in #46
- implement getQuotes by @HunterL in #45
- deprecate stockDividends and support v3 dividends API by @mmoghaddam385 in #48
- deprecate getLastTrade and support getLastTradeV2 by @HunterL in #49
- deprecate historic funcs superseded by getQuotes by @HunterL in #47
- deprecated old splits and add V3 splits support by @mmoghaddam385 in #50
- add getLastQuoteV2 and deprecate old version for stocks client by @HunterL in #52
- deprecate and replace ticker news by @mmoghaddam385 in #54
- deprecate old ticker types and support ticker types v3 by @mmoghaddam385 in #55
- deprecate old conditions and support conditions v3 by @mmoghaddam385 in #56
- deprecate old ticker details and support ticker details v3 by @mmoghaddam385 in #53
- introduce experimental client with financials API by @mmoghaddam385 in #51
- deprecate old exchanges and support exchanges v3 by @mmoghaddam385 in #57
- Add technical indicators APIs by @mmoghaddam385 in #58
- add options snapshot API by @mmoghaddam385 in #59
- support for versions and user agents in code by @mmoghaddam385 in #62
- options contracts reference APIs by @mmoghaddam385 in #60
- bring new patterns to trades/quotes and @SafeVarargs everywhere by @mmoghaddam385 in #61
Full Changelog: v4.0.0...v4.1.0
Upgrade Ktor Dependency
Update the core dependency that this library relies on: Ktor 1.6.7 -> 2.1.3.
Shout-out to @zhemaituk for taking the time to contribute this change!
Breaking Changes
You're unlikely to see any breaking changes if you're using this library, however since this is a major version update of our core dependency, consider checking the Ktor changelog for anything that might affect your code if you were using Ktor for other things.
What's Changed
- Ktor upgrade to 2.1.2 by @zhemaituk in #32
New Contributors
- @zhemaituk made their first contribution in #32
Full Changelog: v3.0.0...v4.0.0
Update many dependencies
Update to many of the dependencies that this library uses:
- Kotlin: 1.3.61 -> 1.6.10
- Ktor: 1.3.1 -> 1.6.7
- kotlin-builder: 1.1.0 -> 1.2.1
Huge thanks to @ssoper and @vadims-grusas for doing the heavy lifting here!
Breaking Changes
See the changelogs for Kotlin and Ktor for a list of breaking changes as a result of dependency updates.
In particular, the use of the experimental Ktor CIO engine no longer works if you're trying to use websocket functionality.
(This should not affect anyone using the default http client when using this library)
What's Changed
- Update ktor an kotlin dependencies by @vadims-grusas in #30
New Contributors
- @vadims-grusas made their first contribution in #30
Full Changelog: v2.0.0...v3.0.0
Support Tickers V3 API
Breaking Changes
PolygonReferenceClient.getSupportedTickers
Updated to use Polygon.io's new Tickers v3 API (v2 has been completely deprecated and removed). Huge thanks to @clarkpd for contributing this update!
Add options path enum
v1.3.0 add options path enum (#21)
Add vwap to AggregateDTO
add vwap to agg DTO (#18) * add vwap to agg DTO * update version in README * add drone yml signature
Add preMarket attribute to stocks daily open/close DTO
v1.2.1 add preMarket param to stocks daily open/close (#15)
Fixes for stocks daily open/close
- Support stocks daily open/close
unadjusted
param (see docs for details) - Change
stocks#DailyOpenCloseDTO.volume
to a Double to handle volume adjusted for splits
Support limit query param in aggregates requests
limit
is now an optional parameter (defaults to 5,000) in AggregatesParameters
. See the API documentation for the polygon.io aggregates API for more information on the limit
parameter.
Thanks to @mkahramana for contributing this fix!
1.1.0
- Updated gradle version
- Made http client more configurable
- Updated sample with more configuration options