SDK Release Notes: April 2022

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

Live crypto orderbook data is available in this release of the SDKs.

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 github.com/alpacahq/alpaca-trade-api-go/v2/alpaca
  

alpaca-trade-api-python v2.1.0

New Features

  • Adds live streaming of crypto orderbook data. You can subscribe to the orderbook data through the Stream class using subscribe_crypto_orderbooks (#597)

Improvements

  • Previously filtering by side of the order was not possible when using list_orders. This PR allows filtering by side. (#610)
  • Improved existing issue template. Added a new general SDK questions issue template. (#606 and #608)

alpaca-trade-api-js v2.15.0

New Features

  • Crypto orderbook stream for crypto websocket (#206)
  • newTimeframe() function to validate timeframes for getting bar data (#208)

Improvements

  • Fixes some simple cases of not checking for null/undefined (#213)
  • Bug Fix 109: Added the symbol param in the get order call (#143)

alpaca-trade-api-csharp v5.2.15

New Features

  • Added support for the corporate actions retrieval APIs into the IAlpacaTradingClient interface. (#476)
  • The FTX was added to the list of supported crypto exchanges. (#475)
  • Added support for the new historical bar time frames - Week and Month values of BarTimeFrameUnit enumeration. (#461)
  • Added multi-symbols requests support for the latest bars, quotes, and trades into stock and crypto data clients.Added some pre-defined values into the BarTimeFrame type for a week, month, quarter, etc.

Improvements

  • Fixed the problem with data streaming connectivity on .NET Standard 2.0 and .NET 5+ targets. (#486)
  • Fixed problem with fractional order quantity validation for market and bracket orders. (#481)

alpaca-trade-api-go v2.2.1

New Features

  • Added OAuth support for trade updates (#198)
  • Added the ListOrdersWithRequest function (#196)

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.