This repository is a collection of Jupyter notebooks using the Alpaca API. Below is a quick breakdown of what each notebook is intended to help with!
-
Getting Started with the Alpaca API: This notebook has all the details necessary to get started with Alpaca and how to research new ideas with market data, backtest strategies, and place trades.
-
Using the Alpaca Market Data API: This notebook explores the different historical data endpoints exposed, expand on the data response objects, and explain a simple use case for the Alpaca Market Data API.
-
Simulating Order Types with the Alpaca API: This notebook is a tutorial on how to simulate every type of order (market, limit, stop, etc.) with the Alpaca API. It includes even more advanced order types such as bracket orders and one-cancels-other orders.
-
DeX and CeX Arbitrage Bot: Learn how to build a crypto arbitrage bot that trades when the price of an asset is different on a centralized exchange versus a decentralized exchange. The link to the associated article is Crypto Arbitrage on Decentralized and Centralized Exchanges.
-
Ethereum Dollar Cost Average Bot: Building a live bot that dollar cost averages into Ethereum over any previously specified timeframe. The link to the associated article is Build a Dollar Cost Average Bot with Crypto API.
-
Pairs Trading Dogecoin and Shiba Inu Token: Using the Alpaca Crypto API to simulate a pairs trading strategy between Dogecoin and Shiba Inu token. The link to the associated article is Pairs Trading Dogecoin and Shiba Inu with Alpaca Crypto API.
-
Supertrend Indicator Bot: Implementing the popular supertrend indicator to trade Bitcoin on a 1 minute timeframe. The link to the associated article is How to Build an Algorithmic Crypto Trading Bot in 6 Steps.
-
Cross-Sectional Momentum Bot with Websockets: Creating a live cross-sectional momentum bot for 9 different cryptocurrencies using websockets to stream Alpaca live market data