SDK Release Notes: February 2022

Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs.

You can install the Alpaca Trade SDK using one of the following language specific CLI commands.

pip3 install alpaca-trade-api      
npm install @alpacahq/alpaca-trade-api      
dotnet add package Alpaca.Markets
go get -u

alpaca-trade-api-python v1.5.1

New Features

  • Python 3.10 is now supported.
  • Updated bars now have their own subscription handler. Use subscribe_updated_bars to receive updated bar data.


  • The Long-Short example algorithm had been outdated for some time.  We’ve fixed some bugs in the example algorithm and it is now functional. Keep in mind you need a premium data subscription to properly run the example.

alpaca-trade-api-csharp v5.2.9

New Features

  • Added support for updated bars subscriptions for both stocks and crypto streaming clients.

alpaca-trade-api-go v2.2.1


  • Fixed the error handling when connection issues arise with the live streaming client.

Interested in learning more about Broker API?

Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content.

You've successfully subscribed to Alpaca Blog | Developer-First API for Stocks, Options, and Crypto
Great! Next, complete checkout for full access to Alpaca Blog | Developer-First API for Stocks, Options, and Crypto
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.