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.
Backtesting intraday stock strategies in Python with vectorbt
No Comments

Creating trading bots these days on intraday data become more and more popular days. For simple backtesting trades usually go to Pine Script. But with libraries like vectorbt backtesting in Python become quite simple. Also, not many people know that you can get intraday data for stocks from Yahoo Finance for free. So in summary Backtesting intraday stock strategies in Python with vectorbt Read More →

5 Ways to Send Alerts from TradingView
No Comments

TradingView is a pretty powerful charting tool and there are quite a lot of features. I receive quite a lot of questions about alerts in TradingView. There is quite a lot of ways to send alerts from it, so I decided to create a small article explaining it. Here are 5 ways to send alerts 5 Ways to Send Alerts from TradingView Read More →

Backtesting Pine Script Strategies on entire history with Deep Backtesting
No Comments

If you backtest a lot of strategies in TradingView you most likely know that that TradingView is a bit limited in terms of backtesting. If you run backtest in a standard way you get your backtest computed on the last ~ 20k bars only for the most expensive account. And that’s not enought for majority Backtesting Pine Script Strategies on entire history with Deep Backtesting Read More →

Adding a dynamic filter to Pine Script strategies.
No Comments

Quite often your strategies in TradingView will be complicated and will have multiple conditions at once. You might want to check if certain conditions work or not for your strategy. It’s a good idea to create a checkbox in your parameter that switch on/off certain filters. In this article, I’ll show you a simple example Adding a dynamic filter to Pine Script strategies. Read More →

Implementing UT Bot Strategy in Python with vectorbt
14 Comments

UT Bot Strategy is one of the most popular scripts I published on TradingView. I was asked many time if I have a version of this strategy in Python. Recently I started using vectorbt and I decided finally to implement this strategy in Python. First let’s import all the libraries we’ll use in this code: Implementing UT Bot Strategy in Python with vectorbt Read More →

Running simple and fast backtests in Python with vectorbt
No Comments

vectorbt is the new Python Backtesting framework I’m using these days. I really like it so I decided to share an example of the simplest strategy built in the vecotrbt from scratch, so you can understand why I like it. This library is developed mostly in Pandas and Numpy so it should be really fast Running simple and fast backtests in Python with vectorbt Read More →