Skip to content

Releases: Petersoj/alpaca-java

Release v11.0.0-pre.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 22:28
9c6ae12

Version 11 is a pre-release that provides the REST API and SSE support for the latest Alpaca OpenAPI specifications. WebSocket support for streaming market data and trade updates is coming soon. Previous versions had WebSocket support via OkHttp, but this library has switched to using Java's native HttpClient and WebSocket support is still a WIP.

10.0.1

Choose a tag to compare

@Petersoj Petersoj released this 24 Mar 02:05

Release Notes

10.0.1 contains several minor updates and bug fixes. Most notably, the alpacaAPI.trader().accountActivities() endpoint now works properly.

Full Changelog: 10.0.0...10.0.1

10.0.0

Choose a tag to compare

@Petersoj Petersoj released this 08 Mar 19:54

Release Notes

10.0.0 is a big update with lots of new features and improvements. This version update contains many breaking changes from the previous 9.2.0 version so refer to the updated README for the new documentation and the changelog below.

What's New

  • Full Broker API support, including SSE streaming.
  • Options API support.
  • New market data APIs support.
  • News streaming support.
  • New websocket streaming interfaces.
  • Java version updated to 17.
  • Bug fixes and other improvements.
  • BigDecimal usage.

What's Changed

  • The REST API Java client is now generated using the OpenAPI Java generator with the okhttp-gson library. Alpaca's v1.1 OpenAPI specifications are available here. Model classes and API interface classes are located in the the net.jacobpeterson.alpaca.openapi package now. Note that these specifications may contain some issues, so if a REST API call isn't working properly, open a new issue or contact Alpaca with a request to fix the spec.
  • Websocket listener interfaces now have discrete method calls for each type of message instead of one call with the message type as a parameter.
  • The use of the alpaca.properties classpath file has been removed.
  • ZonedDateTime has been replaced with OffsetDateTime.
  • The group ID is now net.jacobpeterson.alpaca instead of net.jacobpeterson. The artifact ID is still alpaca-java.

New Contributors

Full Changelog: 9.2.0...10.0.0

9.2.0

Choose a tag to compare

@Petersoj Petersoj released this 20 Aug 22:44

9.2.0 includes the following changes:

Full Changelog: 9.1.4...9.2.0

9.1.4

Choose a tag to compare

@Petersoj Petersoj released this 26 May 15:05

9.1.4 includes the following changes:

Full Changelog: 9.1.3...9.1.4

9.1.3

Choose a tag to compare

@Petersoj Petersoj released this 20 Mar 15:21

9.1.2 includes the following changes:

  • Add qty_available to Positions.
  • Add @Nullable annotations.

Full Changelog: 9.1.2...9.1.3

9.1.2

Choose a tag to compare

@Petersoj Petersoj released this 17 Aug 04:51

9.1.2 includes the following changes:

  • Fix FTX crypto exchange enum name

Full Changelog: 9.1.1...9.1.2

9.1.1

Choose a tag to compare

@Petersoj Petersoj released this 10 Aug 00:16

9.1.1 includes the following changes:

  • Updated dependency versions.
  • Use double in some method signatures where appropriate (thanks @DarioArena87 and @jessethouin!).
  • Added POJO builders.

Full Changelog: 9.1.0...9.1.1

9.1.0

Choose a tag to compare

@Petersoj Petersoj released this 27 Dec 07:24

9.1.0 includes the following changes:

  • Adds a multi-symbol getBars method
  • Minor optimizations and clean up

9.0.0

Choose a tag to compare

@Petersoj Petersoj released this 22 Dec 20:28

9.0.0 includes the following changes:

  • Implement Crypto Data API (both historical and realtime)
  • Refactoring of several objects and field names relating to market data
  • Organize and clean up a few things