Quantified Trader

Bank Nifty

Trading Strategy: A Guide to K-Nearest Neighbors (KNN) Classifier

Looking to build a trading strategy for Bank Nifty? In this article, we will explore how the K-Nearest Neighbors (KNN) classifier can enhance your trading decisions. Learn about the code implementation and gain insights into the strategy’s performance. Read on to discover a step-by-step guide and frequently asked questions (FAQ) related to this powerful approach. …

Trading Strategy: A Guide to K-Nearest Neighbors (KNN) Classifier Read More »

Backtest Bollinger Bands in Python

How to Backtest a Bollinger Band Strategy using Pyfolio in Python

This article aims to provide a step-by-step guide to conducting a backtest for a strategy based on technical indicators using Python. We will focus on implementing a Bollinger Band based strategy to generate signals and positions. There are various alternatives to this code, but we will be adopting a vectorized backtesting approach using the pandas …

How to Backtest a Bollinger Band Strategy using Pyfolio in Python Read More »

Scroll to Top