Introduction
For those of you who are yet to decide on which programming language to learn or which framework to use, start here!
Languages and Frameworks
Laying the foundations Before we can build any house, we must first dig the foundations. In our world, the foundations
Pick your poison!
Now you have read the series introduction, you are ready to move on to the platform specific tutorials.
Backtrader
The following posts are specifically for getting started, see the main blog for more code snippets, reviews, advanced content.

Getting Setup: Python and Backtrader
Time to get our hands wet… In this post, we will take a look at downloading Python, where you can

Backtrader: First Script
Now that we have our environment setup, it time to write our first script! Scope This tutorial aims to set

Using Analyzers in Backtrader
Once you have figured out how to write a basic strategy, you then need to be able to quantify whether it

Optimize Strategies in Backtrader
Once you have created a basic strategy and analysed it, the next logical step would be to optimize it. Optimization is the

Developing Sizers in Backtrader – Part 1
This is part 1 of a look into the world of sizers. Originally, I intended this to be a single

Backtrader: Multiple Data Feeds & Indicators
If you have read through the Backtrader: First Script post or seen any of the other code snippets on this site, you

Backtrader: Oanda Margin and Leverage
The concept of margin and leverage can be a tricky one to setup correctly in a backtest environment. Each country

Backtrader: Commission Schemes
Once you have started to get to grips with the basics, the logical next step is to add another level

Backtrader: Making modular code
This weeks post is not directly related to Backtrader but will definitely come in useful as our journey into backtesting

Backtrader: Creating Analyzers
We have covered using Backtrader’s analyzers in an earlier post. At that time, we looked at using the built-in TradeAnalyzer and

Backtrader: Data Replay
One of the reasons backtesting often does not provide an accurate indication of real-world performance is that we receive a

Developing Sizers in Backtrader – Part 2
This is the second post covering the development of sizers in Backtrader. The first post provided an introduction to the basics, looked

Backtrader: Working with Heikin Ashi
If you have ever pulled up a Heikin Ashi chart on a trading platform, you were probably awed at the

Backtrader: Target Orders and Stop Losses
Today we are going to take a look at how to use target orders as part of an almost “all

Backtrader: Bracket Orders
In this post, we are going to take a look at bracket orders. Bracket orders are a special type of

Backtrader: Manage Dividends and Splits with Adjusted Close Data
This post follows on from Backtesting 101: Dividends and Adjustments. In that post, we discussed the importance of accounting for and
Tradingview
The following posts are specifically for getting started, see the main blog for more code snippets, reviews, advanced content.

Tradingview: First Script
Tradingview Pine Script Beginner Tutorial: Tradingview is fast becoming one of the most popular charting tools in the industry. With

Tradingview: Understanding lookahead, historical and realtime data
As good as the pine script documentation is, there are still those times when things get lost in translation. Other

Tradingview: Create an Indicator
This post also forms part of the getting started series for Tradingview. In this tutorial, we shall follow similar steps

Tradingview – Adding Quandl Data sources
You may have seen the Quandl tab when searching in Tradingviews’ instrument search panel and wondered just how some of

Tradingview: Ternary Conditional Operators ?:
For myself, coming from a Python background, reading the syntax on a Tradingview script can sometimes feel a little alien.

Tradingview: Tracking Time
Tradingview has a few handy time-based variables and functions which allow you to manually keep track of time, events, sessions

Tradingview: Creating Functions
It is time to add another feather to our pine script bow. In this post, we are going to take

Tradingview: Line Wrapping
In last week’s post, we looked at creating functions. In it, I noted that line wrapping a long line in

Tradingview: Creating Alerts
In this post, we are going to look at Tradingview alerts, how to create them and address some questions you

Tradingview: Indicator Repainting
I recently received a question regarding indicator repainting in Tradingview and quickly came to realize that it would make a

Tradingview: How to create a For Loop
In this post, we are going to take a look at pine script’s for loop, how to use it and

Tradingview: Pinescript Debugging, Plotting, Tips and Tricks
Anyone who has coded in pine-script will no doubt agree that debugging can be a pain in the backside. Without

Tradingview: Pine Script Indexing
In this post, we are going back to basics. Turn away now if you are anything but a complete beginner!

Tradingview: Track when something happened
As we saw in the Indexing tutorial, every variable in Pine script is actually a long list of values. One

Tradingview: Stop Losses
This weeks post comes courtesy of CryptoJoncis, a Backtest Rookies reader who got in touch via Twitter looking for some help

Tradingview – Working With Ticks
In this weeks post, we are going to take a look at working with ticks in Tradingview. In particular, we

Tradingview: Trailing Stop Mechanics (Beware Version 3)
This week we are going to take a look at Tradingview’s built-in trailing stop loss functionality. In particular, we are going

Tradingview: Strategy Tester – Performance Summary
At Backtest Rookies, we love to hear from our readers. Some time ago we received an article request from a reader who

Tradingview: Pyramiding
Today we take a look at pyramiding on Tradingview. We will discuss what it is, how it affects your strategy

Tradingview: Strategy Forward Testing – Upper Timeframe Repainting Fix
In our previous repainting explanation and overview, we discussed the fundamentals of repainting and how this can affect you. In
QuantConnect
The following posts are specifically for getting started, see the main blog for more code snippets, reviews, advanced content.

QuantConnect: Getting Started Introduction
As regular readers will know, the content on this site has been centered around two platforms. To be more specific, those

QuantConnect: First Script Tutorial
Welcome to the first QuantConnect tutorial in the getting started series. This post will attempt to guide readers through every

QuantConnect: Plotting Our First Script
In this post, we are going to build on the RSI script we created back in the first tutorial. Those

QuantConnect: Adding Other Timeframes
In this tutorial, we shall cover how to add different timeframes to an algorithm. You may have noticed that QuantConnect

QuantConnect: Trading Multiple Stocks or Assets
In our previous getting started tutorials for QuantConnect we have focused only on trading a single stock. That stock was

QuantConnect: Accessing Previous Values
If you are coming to QuantConnect from other platforms, you might be wondering how to access the previous close price or

QuantConnect: Handling Dividends
As we learned in Backtesting 101: Dividends and Adjustments, dividends are a fundamental part of Investing. Yet they are often

QuantConnect: Working with Heikin Ashi Data
This week we return to QuantConnect for an article on working with Heiken Ashi data. We will cover how to

QuantConnect: Create an Indicator – Awesome Oscillator
Continuing with the QuantConnect series, we shall turn our attention to indicators. There are actually a lot of cool things

QuantConnect: Adding a Library
Anyone who has managed to get a little further than a simple “Hello World” tutorial in Python will have had