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 github.com/alpacahq/alpaca-trade-api-go/v2/alpaca
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.
Improvements 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. New Features Added support for updated bars subscriptions for both stocks and crypto streaming clients. Improvements
Fixed the error handling when connection issues arise with the live streaming client.
© 2022 Alpaca Securities LLC All rights reserved.
© 2022 Alpaca Crypto LLC All rights reserved.
© 2022 AlpacaDB, Inc. All rights reserved.
Securities brokerage services are provided by Alpaca Securities LLC
("Alpaca Securities"), member
, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services
are offered by AlpacaDB, Inc.
Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca
Crypto"), a FinCEN registered money services business (NMLS # 2160858),
and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is
not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your
cryptocurrency investments are not protected by either FDIC or SIPC.
Depending on your location, cryptocurrency services may be provided
by West Realm Shires Services, Inc., d/b/a FTX US (NMLS #1957771).
Please see the
for more information.
This is not an offer, solicitation of an offer, or advice to buy or sell
securities or cryptocurrencies, or open a brokerage account or
cryptocurrency account in any jurisdiction where
Alpaca Securities, Alpaca Crypto, or FTX US respectively, are not registered or licensed, as applicable.
! View Important Disclosures
You've successfully subscribed to Alpaca Blog | Developer-First API for Crypto and Stocks
Great! Next, complete checkout for full access to Alpaca Blog | Developer-First API for Crypto and Stocks
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.