Statistics for Traders

Watercolor illustration of brass weights, compass and knotted ropes for Nautilus Trader position sizing and order types

Introduction to Nautilus Trader Part 2: Position Sizing, Order Types, Backtest Settings and Tearsheets

Nautilus Trader position sizing, order types, backtest settings and tearsheets compared on the same Keltner Channel strategy and SBIN data from...
Rajandran R
19 min read
Price line split into three coloured market regimes with clustered dots

Identifying Market Regimes with the Wasserstein K-Means Algorithm – Python Tutorial

Detect market regimes with Wasserstein k-means in Python: how the algorithm compares return distributions, a NIFTY example with OpenAlgo and tuning...
Rajandran R
14 min read
Oil barrel at the bottom of a falling curve with an oversold gauge

Crude Oil is Extremely OverSold?

If you’ve been watching the crude oil market closely in 2025, you might have noticed something unusual. After a sharp selloff,...
Rajandran R
1 min read

What Traders and Investors Can Learn from Thinking, Fast and Slow

Markets are complex, but the human mind adds a layer of complexity most traders underestimate. Daniel Kahneman’s Thinking, Fast and Slow...
Rajandran R
2 min read
Glowing autocorrelation heatmap grid above echoing price waves, AmiBroker indicator cover

Autocorrelation Heatmap – TASC 2025.02 Indicator – Amibroker AFL using ChatGPT O3-Mini Model

Autocorrelation is a statistical tool that measures the degree to which current price movements are related to past movements. By visualizing...
Rajandran R
4 min read

Introduction to Hidden Markov Models (HMM) for Traders: Python Tutorial

Hidden Markov model trading explained: detect market regimes with a Gaussian HMM in Python, avoid look-ahead bias and label states correctly.
Rajandran R
4 min read

Exploring the Essential Python Libraries for Data Analytics

Python has emerged as a powerhouse due to its versatility, ease of use, and extensive library support. Whether you're manipulating data,...
Rajandran R
3 min read

P-Signal Strategy Long Only Strategy – Amibroker AFL Code

This tutorial provides an overview of the P-Signal reversal strategy, a quantitative trading strategy that utilizes statistical parameters and error functions...
Rajandran R
2 min read

10 Prompts Traders Can Use ChatGPT4 for Advance Data Analysis and Stock Market Prediction

Use these 10 ChatGPT prompts for stock market data analysis with the Advanced Data Analysis tool: data cleaning, visualisation, statistics and...
Rajandran R
12 min read

Feature Scaling – Normalization Vs Standardization Explained in Simple Terms – Machine Learning Basics

Feature scaling is a preprocessing technique used in machine learning to standardize or normalize the range of independent variables (features) in...
Rajandran R
2 min read

Statistical Significance and P-Value Explained in Simple Terms

Statistical significance is a measure of whether an observed result or effect is likely to be real or simply due to...
Rajandran R
1 min read

Nifty Daily Returns – Distribution Statistics – Python Code

The Nifty index is one of the most popular stock market indices in India among traders and investors, and it tracks...
Rajandran R
2 min read