Skip to content
A

Alpaca Backtrader API

Alpaca Trading API integrated with backtrader

by alpacahqFree

#312in Finance
0In stores

Description

alpaca-backtrader-api is a Python library from Alpaca that connects the Alpaca trading API to the backtrader framework, so you can develop t…

Highlights

  • Alpaca trading API inside the backtrader framework
  • REST and streaming interface support
  • Paper or live trading switch, plus backtesting
  • Sample strategies included
  • Multiple strategies via the Alpaca Proxy Agent

Ratings & Reviews

No ratings yet

Be the first to rate Alpaca Backtrader API.

People also visit

R

Rqalpha

A extendable, replaceable Python algorithmic backtest && trading framework

Finance
Launch
M

Moonshot

Vectorized backtester and trading engine for QuantRocket

Finance
Launch
S

Stock Bot

An open-source Python backtesting engine

Finance
Launch
A

Algo.Py

The Next-Gen Algorithmic Trading Framework (Early Beta)

Finance
Launch
V

Vectorbt

The backtesting engine that gives you an unfair advantage

Finance
Launch
F

Futu Algo

Futu Algorithmic Trading Solution (Python) 基於富途OpenAPI所開發量化交易程序

Finance
Launch

Alpaca Backtrader API FAQ

What does alpaca-backtrader-api do?

It lets backtrader strategies use the Alpaca trade API, with REST and streaming support, for backtesting, paper trading and live trading.

What do I need to use it?

Python 3.5 or later and Alpaca API keys from the web console. The examples also need a funded brokerage account or another means of accessing Polygon data.

Is live trading the default?

Yes. The paper parameter defaults to False, which means live trading. Set it to True for paper trading.

Can I run several strategies at once?

Yes, but Alpaca allows one websocket connection per account, so you run the Alpaca Proxy Agent and set DATA_PROXY_WS to its address.

What are the best Alpaca Backtrader API alternatives?

Popular alternatives to Alpaca Backtrader API include Rqalpha, Moonshot and Stock Bot. See all Alpaca Backtrader API alternatives

Developer Stuff

Badges