The Quant Nomad has over 6 years’ experience in the quantitative trading industry (15+ years in programming).
He has helped more than 200 traders and companies create/optimize their algorithmic trading models.
Adding Backtesting Range to TradingView Strategy in 3 lines of code
5 Comments

With the new update of PineScript language, it’s become very easy to add a backtesting range to TradingView Strategies. You can do that in 3 easy steps: Insert the following code in your strategy. You can add it after the last input you have in the code, this way you’ll have range inputs last in Adding Backtesting Range to TradingView Strategy in 3 lines of code Read More →

Getting Historical Bars from ByBit API with Python
2 Comments

ByBit is of the most popular crypto exchanges on the market, and many people trade on it. It’s important to use historical data to backtest trading strategies. So I decided to create an article showing you how you can download historical bars from ByBit with Python. Libraries used: Function to get bars from Bybit: Example Getting Historical Bars from ByBit API with Python Read More →

Using Multiple Datasets in Backtrader’s Strategies
No Comments

Quite often, when you work on advanced strategies only prie is not enough for you. You might want to use correlations between stocks, sentiment data, fundamentals, and so on. In this article, I will show you how you can use multiple data sources in Backtrader Strategies. So let’s assume I want to add additional conditions Using Multiple Datasets in Backtrader’s Strategies Read More →

Optimizing Strategy Backtesting in Python with Backtrader
12 Comments

Pretty often strategies you backtest have quite a lot of parameters and it’s pretty hard to find out which parameters work the best. Of course, you can change parameters manually and run backtest multiple times. But there are better ways to do that. In this article, I will show you how you run multiple backtests Optimizing Strategy Backtesting in Python with Backtrader Read More →

Running a Massive Backtest on 1M Bars in Python with Backtrader
2 Comments

Python is a very powerful language for backtesting and quantitative analysis. You’re free to use any data sources you want, you can use millions of raws in your backtesting easily. In this article, I show an example of running backtesting over 1 million 1 minute bars from Binance. Including libraries: Function to get data from Running a Massive Backtest on 1M Bars in Python with Backtrader Read More →

Getting Historical Bars from Binance API with Python
7 Comments

Binance is of the popular crypto exchanges on the market and a lot of people trade on it. It’s important to use historical data to backtest trading strategies. So I decided to create a video showing you how you can download historical bars from Binance. I did it using basic Python modules, so you can Getting Historical Bars from Binance API with Python Read More →