Programming

Build a custom backtester with Python

Reasons to build your own custom backtester some reasons to do it: 1) Privacy 2) Transparency 3) Personalisation
Igor Radovanovic Igor Radovanovic
14 min read

Blankly – Python Backtesting Guide

Blankly is an open-source Python backtester that allows algorithmic traders to build, backtest, and run their trading algorithms for stocks, crypto, futures, and forex.
Igor Radovanovic Igor Radovanovic
10 min read

OpenBB Platform – A Complete Guide

Table of contents: What is the OpenBB Platform? The OpenBB Platform is an open-source modular financial analysis ecosystem. It integrates with close to 100...
Igor Radovanovic Igor Radovanovic
13 min read

LEAN Engine (on AWS) and Interactive Brokers Guide

Table of contents: What is the LEAN Engine? The LEAN Engine is an open-sourced algorithmic trading engine. The LEAN Engine is built by QuantConnect...
Igor Radovanovic Igor Radovanovic
4 min read

Interactive Brokers Live Algo Trading with QuantConnect

Table of contents: What is QuantConnect? QuantConnect is an online open-source financial system that allows its user to conduct research, perform analyses, create algorithmic...
Igor Radovanovic Igor Radovanovic
3 min read

Build a Warren Buffett Chatbot using OpenAI’s API

Note that this article does not refer to custom GPTs. Using custom GPTs, it is possible to build a Warren Buffett chatbot without code....
Igor Radovanovic Igor Radovanovic
14 min read

Python in Excel – PyXLL vs Microsoft

Table of contents What is Python in Excel? Python can be used in Excel to allow seamless integration of the Python programming language inside...
Igor Radovanovic Igor Radovanovic
7 min read

Mastering Python Linters: A Guide for Developers

Table of contents: What are Python linters? Python linters are tools for developers that do automated code analysis. They play a crucial role in...
Igor Radovanovic Igor Radovanovic
9 min read

VectorBT – An Introductory Guide

Table of contents: What is VectorBT? VectorBT is an open-source Python library for quantitative analysis and backtesting. Link: https://vectorbt.dev/ What is VectorBT used for?...
Igor Radovanovic Igor Radovanovic
5 min read

Backtesting.py – An Introductory Guide to Backtesting with Python

Table of contents: What is Backtesting.py? Backtesting.py is an open-source backtesting Python library that allows users to test their trading strategies via code. Link:...
Igor Radovanovic Igor Radovanovic
6 min read

Etherscan API: A step-by-step Guide

Table of contents: What is Etherscan API? Etherscan API is a way to interact with Etherscan features programmatically via code. Link: https://etherscan.io What is...
Igor Radovanovic Igor Radovanovic
5 min read

R Finance – An Econometrics Guide to Stocks

Table of contents: What is R? R is a programming language and fee software that is primarily used for statistical computing and graphics. It...
Igor Radovanovic Igor Radovanovic
10 min read

Live Algo Trading on the Cloud – AWS

Table of contents: What does live algorithmic trading on the Cloud mean? What are the pros and cons of deploying your trading strategies to...
Igor Radovanovic Igor Radovanovic
12 min read

OpenBB – An Introductory Guide to Investment Research

Table of contents: What is OpenBB? OpenBB is an open-sourced investment research platform. Link: https://openbb.co What is OpenBB used for? OpenBB is primarily used...
Igor Radovanovic Igor Radovanovic
10 min read

Live Algo Trading on the Cloud – Google Cloud…

Table of contents: What does live algorithmic trading on the Cloud mean? Live algorithmic trading on the Cloud means that your trading bots can...
Igor Radovanovic Igor Radovanovic
9 min read

Live Algo Trading on the Cloud – Microsoft Azure

Table of contents: What does live algorithmic trading on the Cloud mean? Live algorithmic trading on the Cloud means that your trading bots can...
Igor Radovanovic Igor Radovanovic
12 min read

Live Algo Trading on the Cloud – Vultr

Table of contents: What does live algorithmic trading on the Cloud mean? Live algorithmic trading on the Cloud means that your trading bots can...
Igor Radovanovic Igor Radovanovic
8 min read

Secure your AWS Servers for Algorithmic Trading – Complete…

Table of contents: What is AWS trading server security? AWS trading server security is a set of procedures that an algorithmic trader can implement...
Igor Radovanovic Igor Radovanovic
12 min read

GrapheneX: An Introductory Guide to System Hardening

Table of contents: What is GrapheneX? GrapheneX is a framework developed for Linux and Windows users that are interested in hardening their devices. In...
Igor Radovanovic Igor Radovanovic
5 min read

Secure your trading algorithms and servers – General Guide

Table of contents: What is trading algorithm and server security? Trading algorithms and server security consist of a range of tactics that are meant...
Igor Radovanovic Igor Radovanovic
9 min read

Conformal Prediction – A Practical Guide with MAPIE

Table of contents: What is Conformal Prediction? Conformal Prediction is a set of algorithms that assess the uncertainty of predictions produced by a machine...
Igor Radovanovic Igor Radovanovic
12 min read

Thinkscript – An Introductory Guide

Table of contents: What is Thinkscript? Is Thinkscript Free? What is Thinkscript used for? Why should I use Thinkscript? Why shouldn’t I use Thinkscript?...
Igor Radovanovic Igor Radovanovic
7 min read

Tableau Tutorial – Understanding the Basics

Table of contents: What is Tableau? What is Tableau Public? Is Tableau free? How is Tableau used in Finance? Why should I use Tableau?...
Igor Radovanovic Igor Radovanovic
8 min read

OpenSea API – A Basic Guide

Table of contents: What is OpenSea API? What is OpenSea? What is OpenSea API used for? Why should I use OpenSea API? Why shouldn’t...
Igor Radovanovic Igor Radovanovic
3 min read

Deribit – An Introductory API Guide

Table of contents: What is Deribit? What is Deribit API? Is Deribit free? Does Deribit require KYC? Why should I use Deribit? Why shouldn’t...
Igor Radovanovic Igor Radovanovic
13 min read

Bittrex API – An Introductory Guide

Table of contents: What is Bittrex API? What is Bittrex? Is Bittrex API free? Why should I use Bittrex API? Why shouldn’t I use...
Igor Radovanovic Igor Radovanovic
8 min read

Terra Luna – Python Guide

Table of contents: What is the Terra Blockchain? What is the Terra Blockchain used for? What is Luna? What programming languages does the Terra...
Igor Radovanovic Igor Radovanovic
12 min read

KuCoin API – An Introductory Guide

Table of contents: What is KuCoin API? What is KuCoin? What can I trade on KuCoin? Is KuCoin free? What are KuCoin Shares (KCS)?...
Igor Radovanovic Igor Radovanovic
10 min read

OKX API – An Introductory Guide

Table of contents: What is the OKX API? What is OKX? Is OKX API free? Why should I use OKX API? Why shouldn’t I...
Igor Radovanovic Igor Radovanovic
9 min read

PySpark – A Beginner’s Guide to Apache Spark and…

Table of Contents: What is PySpark? What is Apache Spark? What is Apache Spark used for? What is PySpark used for? Is Apache Spark...
Igor Radovanovic Igor Radovanovic
10 min read

Data Science Mental Models – Optimizing your Thinking and…

Table of contents: What are Mental Models in Data Science? Why should I use Mental Models in Data Science? Why shouldn’t I use Mental...
Igor Radovanovic Igor Radovanovic
16 min read

Machine Learning for Finance Guide – A Real-Life Example

Table of contents: What is Machine Learning?  How is Machine Learning used in Finance? Main problem What is a bank Default? What are the...
Igor Radovanovic Igor Radovanovic
30 min read

FTX API – A Complete Guide

Important note: FTX has filed for bankruptcy. Please do not deposit funds into FTX. This article is now deprecated. Table of contents: What is...
Igor Radovanovic Igor Radovanovic
13 min read

Coinbase Pro API – An Introductory Guide

Table of contents: What is Coinbase Pro API? Is Coinbase Pro API free? Why should I use Coinbase Pro API? Why shouldn’t I use...
Igor Radovanovic Igor Radovanovic
9 min read

Google Colab – A Step-by-step Guide

Table of contents: What is Google Colab? Is Google Colab free? Why should I use Google Colab? Why shouldn’t I use Google Colab? What...
Igor Radovanovic Igor Radovanovic
16 min read

Sklearn – An Introduction Guide to Machine Learning

Table of Contents What is Sklearn? What is Sklearn used for? How to download Sklearn for Python? How to pick the best scikit-learn model?...
Igor Radovanovic Igor Radovanovic
17 min read

Cluster Analysis – Machine Learning for Pairs Trading

Table of contents: What is Cluster Analysis? Is Cluster Analysis an Unsupervised Machine Learning task? How can Cluster Analysis be used for Finance? What...
Igor Radovanovic Igor Radovanovic
16 min read

Kraken API – A Complete Guide

Table of contents: What is the Kraken API? What is Kraken? Is Kraken API free? Why should I use Kraken API? Why shouldn’t I...
Igor Radovanovic Igor Radovanovic
9 min read

Gemini API – A Step-by-Step Guide

Table of contents: What is Gemini API? What is Gemini? What is the Gemini Dollar? Is Gemini free? Why should I use Gemini? Why...
Igor Radovanovic Igor Radovanovic
17 min read

CoinMarketCap API – An Introductory Guide

Table of contents: What is CoinMarketCap? Is CoinMarketCap API free? Why should I use CoinMarketCap? Why shouldn’t I use the CoinMarketCap? What are the...
Igor Radovanovic Igor Radovanovic
8 min read

CoinGecko API – A Complete Guide

Table of contents: What is the CoinGecko API? Why should I use CoinGecko? Why shouldn’t I use the CoinGecko? What are the alternatives to...
Igor Radovanovic Igor Radovanovic
9 min read

ib_insync Guide – Interactive Brokers API

Table of Contents What is ib_insync? Why should I use ib_insync? Why shouldn’t I use ib_insync? What is the Interactive Brokers API? How to...
Jignesh Davda Jignesh Davda
21 min read

BitMex API Introduction Guide

Table of contents: What is the BitMex API? What is BitMex? What Crypto Derivatives are available on BitMex? What are the trading fees on...
Igor Radovanovic Igor Radovanovic
10 min read

Coinbase API – A Introduction Guide

Table of contents: What is Coinbase API? What is Coinbase? What can I trade on Coinbase? What are the pricing and fees of Coinbase?...
Igor Radovanovic Igor Radovanovic
10 min read

QuantConnect – A Complete Guide

Table of contents What is QuantConnect? QuantConnect is an algorithmic trading browser-based platform that lets you develop, test and execute strategies. Link: https://www.quantconnect.com They...
Greg Bland Greg Bland
30 min read

Quantitative Trader’s Roadmap – 5 Steps from Idea to…

Table of Contents How do I get started with algorithmic trading? Trading Ideas and Strategies What kind of strategy should I trade? How do...
Jignesh Davda Jignesh Davda
40 min read

Robinhood API – A Complete Guide

Table of Contents What is the Robinhood API? Why should I use the Robinhood API? Why shouldn’t I use the Robinhood API? Is there...
Greg Bland Greg Bland
36 min read

Pine Script (TradingView) – A Step-by-step Guide

This article has been updated for Pine Script V5. Table of Contents What is Pine script? Why should I use Pine script? Why shouldn’t...
Jignesh Davda Jignesh Davda
20 min read

Binance Python API – A Step-by-Step Guide

Table of Contents What is the Binance API? Why should I use the Binance API? Why shouldn’t I use the Binance API? What are...
Jignesh Davda Jignesh Davda
30 min read

yfinance Library – A Complete Guide

Table of Contents What is yfinance? Is the yfinance library free? Why should I use the yfinance library? Why shouldn’t I use the yfinance...
Greg Bland Greg Bland
13 min read

Yahoo Finance API – A Complete Guide

Table of Contents What is the Yahoo Finance API? Why should I use the Yahoo Finance API? Why shouldn’t I use the Yahoo Finance...
Greg Bland Greg Bland
16 min read

IEX API Introduction Guide

Table of Contents What is the IEX API? Is the IEX API free? Why should I use the IEX API? Why shouldn’t I use...
Jignesh Davda Jignesh Davda
16 min read

Train/Test Split and Cross Validation – A Python Tutorial

What is a training and testing split? It is the splitting of a dataset into multiple parts. We train our model using one part and...
Greg Bland Greg Bland
26 min read

Python Correlation – A Practical Guide

Table of Contents What is correlation? Why do correlations matter? Correlation doesn’t imply causation What is a correlation coefficient? How can I calculate the...
Jignesh Davda Jignesh Davda
22 min read

Alpha Vantage Introduction Guide

Table of Contents What is the Alpha Vantage API? Is the Alpha Vantage API free? What kind of data does the Alpha Vantage API...
Jignesh Davda Jignesh Davda
12 min read

Reddit Wallstreetbets – Web Scraping Tutorial

Table of Contents How to use Reddit data for Finance? Reddit Wallstreetbets – Daily Discussion What are the Challenges of scraping Reddit? Project – Scraping Reddit...
Aaron Smith Aaron Smith
16 min read

Alpaca Trading API Guide – A Step-by-step Guide

Table of Contents What is the Alpaca Trading API? Why should I use the Alpaca Trading API? Does the Alpaca API allow backtesting? How...
Jignesh Davda Jignesh Davda
23 min read

Backtrader for Backtesting (Python) – A Complete Guide

If you want to backtest a trading strategy using Python, you can 1) run your backtests with pre-existing libraries, 2) build your own backtester,...
Jignesh Davda Jignesh Davda
27 min read

Interactive Brokers Python API (Native) – A Step-by-step Guide

Interactive Brokers (IB) is a trading brokerage used by professional traders and small funds. If you want to learn how to build automated trading...
Jignesh Davda Jignesh Davda
37 min read

Sentiment Analysis with Python – A Beginner’s Guide

Sentiment analysis in finance has become commonplace. In many cases, it has become ineffective as many market players understand it and have one-upped this...
Lucas Liew Lucas Liew
20 min read

Jupyter Notebook Shortcuts

Notebooks are tools that allow us to use markdown along with our code, to improve readability and really add to that storytelling aspect of...
Jovan Medford Jovan Medford
2 min read