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

Read More »

Pick your poison!

Now you have read the series introduction, you are ready to move on to the platform specific tutorials.

Backtrader

Tradingview

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

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

Read More »
Backtrader: First Script

Backtrader: First Script

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

Read More »
Using Analyzers in Backtrader

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

Read More »
Optimize Strategies in Backtrader

Optimize Strategies in Backtrader

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

Read More »
Developing Sizers in Backtrader – Part 1

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

Read More »
Backtrader: Multiple Data Feeds & Indicators

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

Read More »
Backtrader: Oanda Margin and Leverage

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

Read More »
Backtrader: Commission Schemes

Backtrader: Commission Schemes

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

Read More »
Backtrader: Making modular code

Backtrader: Making modular code

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

Read More »
Backtrader: Creating Analyzers

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

Read More »

Tradingview

The following posts are specifically for getting started, see the main blog for more code snippets, reviews, advanced content. 

Tradingview: First Script

Tradingview: First Script

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

Read More »
Tradingview: Understanding lookahead, historical and realtime data

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

Read More »
Tradingview: Create an Indicator

Tradingview: Create an Indicator

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

Read More »
Tradingview – Adding Quandl Data sources

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

Read More »
Tradingview: Ternary Conditional Operators ?:

Tradingview: Ternary Conditional Operators ?:

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

Read More »
Tradingview: Tracking Time

Tradingview: Tracking Time

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

Read More »
Tradingview: Creating Functions

Tradingview: Creating Functions

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

Read More »
Tradingview: Line Wrapping

Tradingview: Line Wrapping

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

Read More »
Tradingview: Creating Alerts

Tradingview: Creating Alerts

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

Read More »
Tradingview: Indicator Repainting

Tradingview: Indicator Repainting

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

Read More »