In our previous post, we discussed how to backtest a simple crossover strategy for a single stock using Backtrader and Intrinio. In this post, we’re going to build on this framework and graph the RSI of multiple securities. Before we can start graphing, we need to get the data. I will once again use the sandbox so anyone can play along.
The goal of this article is to enable traders to start backtesting their strategies as quickly as possible. We’ll dive deep into how to download data using the Intrinio API and then demonstrate an easy-to-follow backtest where we’ll trade Apple using a crossover strategy with Backtrader.
Hello, my name is Leo Smigel, and I use data science to determine what works in investing and trading. You can read more about me and my journey at Analyzing Alpha. My goal is to be the resource I wish I had when learning how to make money in the markets.
I remember the daunting feeling of venturing into the world of algorithmic trading and backtesting. So don’t worry, I’m going to provide step-by-step guidance so you can follow along.
With introductions out of the way, let’s dig into the what and then the how.