Alpaca Pairs Trading
Pairs Trading with Alpaca - created on behalf of AlgoTrading101.com for alpaca.markets/learn
Install / Use
npx skills add PythonForForex/alpaca-pairs-tradingInstalls into whichever agent you are using.
README
================================================================ Pairs Trading - Strategy Deployment Guide - alpaca.markets/learn
This is the code used in the article: Pairs Trading - Strategy Deployment Guide published on the alpaca.markets/learn <https://alpaca.markets/learn>_ blog. The article can be found here - https://alpaca.markets/learn/pairs-trading/
This guide was created on behalf of AlgoTrading101.com
Table of Contents
What Is Pairs Trading? <https://alpaca.markets/learn/pairs-trading/#example>_Why should I run a pairs trading strategy? <https://alpaca.markets/learn/pairs-trading/#example2>_Why shouldn’t I run a pairs trading strategy? <https://alpaca.markets/learn/pairs-trading/#example3>_How do I get started with Alpaca? <https://alpaca.markets/learn/pairs-trading/#example4>_How to code a pairs trading strategy with the Alpaca API? <https://alpaca.markets/learn/pairs-trading/#example5>_How do we size our trades? <https://alpaca.markets/learn/pairs-trading/#example6>_How do I set a stop loss or take profit? <https://alpaca.markets/learn/pairs-trading/#example7>_How can I build a successful pairs trading strategy? <https://alpaca.markets/learn/pairs-trading/#example8>_
Requirements
python <https://www.python.org>_ >= 3.6+alpaca_trade_api <https://github.com/alpacahq/alpaca-trade-api-python>_ (tested to work with >= 0.51 )pandas <https://github.com/pandas-dev/pandas>_ >= 1.1.2+
Author Info
:author: Jignesh Davda :author page: https://algotrading101.com/learn/author/jdavda/ :published: 2020-12-02
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
