Skip to content

Releases: Petersoj/alpaca-java

5.0.3

10 Jan 16:36
Compare
Choose a tag to compare

Includes the following pull requests:

#39 changing volume from int to long

Includes the following issues:

#38 PolygonAPI.getGroupedDaily all or nothing failure

5.0.2

20 Dec 15:48
Compare
Choose a tag to compare

Includes the following pull requests:

#37 Fix adding a watchlist asset

Includes the following issues:

N/A

5.0.1

14 Dec 14:48
Compare
Choose a tag to compare

Includes the following pull requests:

  • #36 Fix Last POJO field type

Includes the following issues:

  • #35 LastQuoteResponse.last is an ArrayList

5.0.0

03 Dec 17:30
Compare
Choose a tag to compare

Includes the following pull requests:

  • #15 Code Cleanup and Style Changes
  • #19 Updates Polygon to use Websockets in place of soon-to-be deprecated NATs protocol
  • #20 Removed redundant documentation in README and cleanup
  • #23 General code cleanup
  • #24 Allow schemas and sources for jsonSchema2Pojo & organize sample JSON structure
  • #21 Update Alpaca and Polygon API for new v2 endpoints

Closes the following issues:

  • #16 Websocket Polygon support
  • #17 Update to v2 for various Polygon endpoints
  • #25 15 minute represented as 1 minute

Big thanks to @Petersoj for all of his hard work pulling this release together.

4.0.1

02 Aug 14:29
Compare
Choose a tag to compare

Updating API for historic trades and quotes to accept Long offset instead of Integer

4.0.0

10 Jul 16:06
Compare
Choose a tag to compare

Updating for Alpaca v2 API compliance.

Note v2 is generally accessed by using this property in alpaca.properties:

api_version = v2

3.1.0

09 Jun 16:33
Compare
Choose a tag to compare

Includes the following updates:

  • OrderEvent Enum handles API name variations/tenses
  • Adding ORDER_CANCEL_REJECTED OrderEvent
  • Handling ConcurrentModificationException on Stream Listener Removal
  • Handling Wildcard in Polygon NATS API to receive stream for all tickers

3.0.2

29 May 22:09
Compare
Choose a tag to compare

Fixes property file loading issues; Logs out where it is reading property files from.

3.0.0

29 May 15:11
Compare
Choose a tag to compare

This release adds initial support for the Polygon API and Polygon NATs streams. Also fixed an issue in the 2.0 release that was preventing the Alpaca WebSocket classes from loading correctly. See the https://github.com/mainstringargs/alpaca-java#polygon-api section for API details.

2.0

26 Feb 15:07
Compare
Choose a tag to compare
2.0

Adding stream listener for Alpaca WebSockets.

For example:

    alpacaApi.addAlpacaStreamListener(
        new AlpacaStreamListenerAdapter(MessageType.ACCOUNT_UPDATES, MessageType.ORDER_UPDATES) {
          @Override
          public void streamUpdate(MessageType messageType, UpdateMessage message) {

            switch (messageType) {
              case ACCOUNT_UPDATES:
                AccountUpdateMessage accounUpdateMessage = (AccountUpdateMessage) message;
                System.out
                    .println("\nReceived Account Update: \n\t" + accounUpdateMessage.toString());
                break;
              case ORDER_UPDATES:
                OrderUpdateMessage orderUpdateMessage = (OrderUpdateMessage) message;
                System.out.println("\nReceived Order Update: \n\t" + orderUpdateMessage.toString());
                break;
            }
          }
        });

Note: I am aware some of the artifacts contain pre-populated keyid and secret keys. I have since regenerated mine, and they are no longer in use. I will fix their inclusion in the future.