Trading

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

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

Bing Chat for Finance – An Exploratory Guide

Table of contents: What is Bing Chat? Bing Chat is a ChatGPT alternative that uses real-time current data to analyse, code, write, and answer...
Igor Radovanovic Igor Radovanovic
10 min read

Google Gemini for Finance – An Exploratory Guide

Table of contents: What is Google Gemini? Google Gemini, formerly known as Google Bard, is a ChatGPT alternative that uses real-time current data to...
Igor Radovanovic Igor Radovanovic
13 min read

Auto-GPT for Finance – An Exploratory Guide

Table of contents: What is Auto-GPT? Auto-GPT is a self-prompting GPT-4 model that achieves the user’s goals without requiring the user to input appropriate...
Igor Radovanovic Igor Radovanovic
12 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

FinanceDatabase Guide – A Comprehensive Database of Financial Symbols…

Table of contents: What is FinanceDatabase? FinanceDatabase is a Python package of 300.000+ symbols containing Equities, ETFs, Funds, Indices, Currencies, Cryptocurrencies, and Money Markets....
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

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

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

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

Portfolio Visualizer – An Introductory Guide

Table of contents: What is the Portfolio Visualizer? Is Portfolio Visualizer free? Why should I use Portfolio Visualizer? Why shouldn’t I use Portfolio Visualizer?...
Igor Radovanovic Igor Radovanovic
5 min read

Coinbase Alternatives 2021 – Comparison

Table of contents: What are Coinbase alternatives? Comparison Table What is Coinbase? What is Coinbase used for? Coinbase Review Binance Review Kraken Review Gemini...
Igor Radovanovic Igor Radovanovic
8 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

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

Crypto Arbitrage Guide – What It Is and How…

Table of contents: What is crypto arbitrage? Why does crypto arbitrage occur? What are the Pros and Cons of crypto arbitrage? What types of...
Igor Radovanovic Igor Radovanovic
10 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? Why should I use QuantConnect? Backtesting and Live trading Paper trading Free data Alpha Stream Strategy Development Framework...
Greg Bland Greg Bland
38 min read

Quandl: A Step-by-Step Guide

Table of Contents What is Quandl? What is Quandl’s Data Structure? What are the Pros and Cons of Quandl? Is Quandl Free? Free VS...
Igor Radovanovic Igor Radovanovic
11 min read

Google Finance API and 9 Alternatives

Table of contents: What is Google Finance API? How to collect historical data using Google Finance API? How to retrieve Price-to-Earnings ratio using Google...
Igor Radovanovic Igor Radovanovic
10 min read

What is Backtesting? 3 Aims of Backtesting

What is backtesting? Backtesting is the process of testing a trading or investment strategy using data from the past to see how it would...
Jignesh Davda Jignesh Davda
2 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

Pairs Trading – A Real-World Guide

What is pairs trading? Pairs trading is a trading strategy that involves buying one asset and shorting another. The aim of pairs trading is...
Lucas Liew Lucas Liew
10 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

What is Quantamental? 3 Techniques to Investing

What is Quantamental? Quantamental is a term that describes a hybrid of quantitative and fundamental techniques to investing. This term is a fancy buzzword...
Lucas Liew Lucas Liew
3 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

Alpaca Trading Review – Pros and Cons

Table of Contents What is the Alpaca Trading Brokerage? Pros and cons summary Why should I use the Alpaca Trading Brokerage? What’s the catch?...
Jignesh Davda Jignesh Davda
5 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

How to Sign Up for an Interactive Brokers Paper…

Interactive Brokers (IB) is a highly regarded broker in the retail trading industry. It is known for a broad range of markets and competitive...
Jignesh Davda Jignesh Davda
5 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

How to use Hedging as a Trading Strategy

How to use hedging as a trading strategy? We use it to take on specific risks. There are 2 ways. 1) Asset-hedge: This means...
Lucas Liew Lucas Liew
4 min read

Futures Trading Strategies Made Simple – A Complete Guide

What are the common types of futures trading strategies? Here is a list: Calendar Spreads – Spreading the same future, but of different expiration...
Lucas Liew Lucas Liew
13 min read

How Can Retail Traders Beat Institutional Traders and Hedge…

How can retail traders beat the institutional traders and hedge funds? Retail traders can target small, exotic and unregulated markets. We have no pressure...
Lucas Liew Lucas Liew
3 min read

4 Quantitative Trading Strategies that Work in 2022

The markets are getting more sophisticated and efficient. It is almost impossible to be profitable in the long-run by running strategies that used to...
Lucas Liew Lucas Liew
5 min read

Trading Jobs – How to Get One and How…

Table of Contents What are the 2 types of trading firms and their salaries? What are the Entry Requirements for Trading Firms? How to...
Lucas Liew Lucas Liew
6 min read

What is Quantitative Trading and How Do I Learn…

Table of contents What is the Quantitative Trading? When should we use Quantitative Trading? (Instead of Manual Trading) Why should we use Quantitative Trading?...
Lucas Liew Lucas Liew
5 min read

52 Trading Rules in 3 Minutes

On Strategy Mindset A good trader looks for opportunities in all the weird places, not just in regulated and developed markets. New, exotic and...
Lucas Liew Lucas Liew
3 min read

What is a Walk-Forward Optimization and How to Run…

Backtesting a strategy gives you a good understanding of what happened in the past, but it does not tell the future. Fortunately, walk forward...
Lucas Liew Lucas Liew
6 min read

What is Overfitting in Trading?

What is overfitting in trading? Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that...
Lucas Liew Lucas Liew
3 min read

Should I Hire an Algorithmic Trading Freelance Developer? (No,…

Should I Hire an Algorithmic Trading Freelance Developer? No you shouldn’t. It might cost a lot over the long term, is ineffective, slow and...
Lucas Liew Lucas Liew
4 min read

Trading for a Living – How Much Money do…

How much money do you need for algorithmic trading? You need 20 times your yearly expenses to be a full-time trader. However, the minimum...
Lucas Liew Lucas Liew
3 min read

How to Measure Trading Risks?

How to measure trading risks? Risk should be measured based on the quality of the trading decision. A good quality trading decision has a...
Lucas Liew Lucas Liew
6 min read

How to Raise Capital for my Trading and How…

How to raise funds for my trading? Here are 3 ways: 1) Join a proprietary trading firm, 2) Raise from ultra high-net-worth individuals, and...
Lucas Liew Lucas Liew
6 min read

What is a Good Track Record in Trading?

What is considered a good track record in trading? Making 25% per year annualized with low correlation to the market for 3 years, with...
Lucas Liew Lucas Liew
4 min read

Convertible Arbitrage – What it is and does it…

Does it still work today?
Jovan Medford Jovan Medford
13 min read