Alpaca Blog | Developer API for commission-free stock trading

SDK Release Notes: March 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 github.com/alpacahq/alpaca-trade-api-go/v2/alpaca
  

alpaca-trade-api-python v2.0.0

Note: This release is a breaking change ​​due to the removal of Market Data V1 capabilities

New Features

  • Removed marketdata v1 functions (#590)
  • Updated overnight-hold to use the new data api (async get bars) (#562)
  • Add Week and Month timeframe units (#583)
  • Added Multi symbol support for the latest crypto endpoints (#580)

Improvements

  • Scheduled weekly dependency update for week 12 (#592)
  • Increased ping timeout (#591)
  • Sent subscription requests in parts (#586)Added a param to the stream classes to allow overriding of websocket defaults (#596)

alpaca-trade-api-js v2.13.0

New Features

  • Moved updated bars to their own subscription (#195)
  • Added Multi symbol support for the latest crypto endpoints (#198)

Improvements

  • Updated so that axios's returned values are no longer wrapped (#201)
  • Fixed limiting issue in Market Data V2 (#200)

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)
You've successfully subscribed to Alpaca Blog | Developer API for commission-free stock trading
Great! Next, complete checkout for full access to Alpaca Blog | Developer API for commission-free stock trading
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.