Skip to content

Releases: alpacahq/alpaca-trade-api-go

v3.1.0

02 Aug 10:41
4377bef
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.1...v3.1.0

v3.0.1

15 Feb 15:28
2735b13
Compare
Choose a tag to compare

What's Changed

  • Update code examples in the readme by @gnvk in #241
  • Retry on internal server errors by @gnvk in #242

Full Changelog: v3.0.0...v3.0.1

v3

24 Jan 11:18
25de192
Compare
Choose a tag to compare
v3

This is a backward incompatible release. We generally try to avoid these and keep everything
backward compatible.

The main reason to do it this time was to be able to consume the new
crypto endpoints (v1beta3) that no longer contain exchange parameters, because the only
exchange they provide data for is the Alpaca exchange.

However, since the crypto change required a backward incompatible change, we included a lot of
other also incompatible modifications to improve the general quality and usability of the SDK.

Major changes

  • Crypto
    • Add historical multi trades
    • Remove historical quotes
    • Remove exchange
    • Use v1beta3
  • Update a lot of structures to better match the APIs
  • Unify nomenclature between trading and marketdata arguments (use "requests" everywhere)
  • Add request argument to all latest marketdata functions
  • Remove "Async" marketdata functions (they were barely used and caused confusion)
  • Update go to v1.19
  • The clients are no longer interfaces
  • Add since/until parameters to the trade update stream

Minor changes

  • Improve api error
  • Use type aliases for enums
  • Use easyjson for better performance
  • After the trade update stream reconnects, it streams from the last seen message

v2.8.0

18 Nov 10:35
e739a18
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.7.0...v2.8.0

v2.7.0

28 Jun 14:10
7ca8a9b
Compare
Choose a tag to compare

What's Changed

  • Add Reset field to the crypto orderbook by @gnvk in #207

Full Changelog: v2.6.0...v2.7.0

v2.6.0

23 Jun 10:17
8fd7fcc
Compare
Choose a tag to compare

What's Changed

  • remove drew887 as owner by @drew887 in #200
  • Add optional asof for historical marketdata endpoints by @gnvk in #206

Full Changelog: v2.5.0...v2.6.0

v2.5.0

29 Apr 16:46
73c5ee8
Compare
Choose a tag to compare

What's Changed

  • Added crypto order book data streaming by @ccnlui in #199

Full Changelog: v2.4.0...v2.5.0

v2.4.0

26 Mar 10:09
3aaa1eb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.4.0

v2.2.1

10 Feb 15:44
32f9720
Compare
Choose a tag to compare

What's Changed

  • Fix connection error handling by @gnvk in #189

Full Changelog: v2.2.0...v2.2.1

News API

26 Jan 11:07
211a1db
Compare
Choose a tag to compare

What's Changed

  • Add news endpoints by @gnvk in #182
  • Add ErrSubscriptionChangeInvalidForFeed as an irrecoverable error at … by @gnvk in #183
  • Fix marketdata stream read limit by @gnvk in #185
  • Fix missing fmt import by @gnvk in #186

Full Changelog: v2.1.0...v2.2.0