algorithmic trading

Nautilus Trader portfolio backtest: twelve strategy instances (Keltner and mean reversion on six NSE stocks) sharing a cash book, portfolio and equity recorder actor, one cash account and Historify data

Introduction to Nautilus Trader Part 3: Portfolio and Multi-Strategy Backtesting with OpenAlgo Historify

Part 3: a six-stock portfolio and two strategies in one Nautilus Trader account, with OpenAlgo Historify data, and what diversification really...
Rajandran R
13 min read
Map of Nautilus Trader order types: buy stop, stop-limit, sell limit and market-if-touched above the market, buy limit, if-touched, sell stop and trailing stop below it, plus bracket orders and time in force

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

Part 2 of our Nautilus Trader series: position sizing, market, limit and stop orders, the backtest settings that move results, and...
Rajandran R
15 min read
Nautilus Trader architecture diagram: strategies, actors and execution algorithms on top of a message bus with data, risk and execution engines, portfolio, cache and clock, over a backtest simulated exchange or live venue adapters

Introduction to Nautilus Trader Part 1: Architecture and Event-Driven Backtesting with OpenAlgo

New to Nautilus Trader? Learn its event-driven architecture, how orders fill in a backtest, and how to backtest an NSE strategy...
Rajandran R
16 min read

Python Tutorial on Span Margin Calculator using Marginism

Marginism is a Python library that removes that dependency completely. You give it the exchange's daily SPAN risk parameter file and...
Rajandran R
17 min read

How to Build Survivorship-Bias-Free NIFTY 50 Historical Data Using Grokbot

Learn how to build survivorship-bias-free NIFTY 50 backtests using historical constituents, official index weights, effective dates, and NSE Indices data. See...
Rajandran R
5 min read

Why Every Trader Should Learn Partial Derivatives

Partial derivatives are the foundation of modern options trading, quantitative finance, and algorithmic trading. Learn how concepts like Delta, Gamma, Theta,...
Rajandran R
3 min read

Building a Simple ORB Strategy Visualization with Stop Loss and Target Using OpenAlgo – Python Tutorial

Build a Python ORB strategy visualizer with OpenAlgo: fetch 1-minute data, compute opening range levels, add stop loss and target logic,...
Rajandran R
11 min read

Event Driven Backtesting and Event Loops for Traders

Event driven backtesting simulates trading the way markets actually work. Instead of calculating everything at once, it processes events step by...
Rajandran R
2 min read

We Built OpenAlgo for 2 Years. Today It Crossed 100,000 Downloads.

We spent two years building OpenAlgo as an open source, self hostable algorithmic trading infrastructure. Today it has crossed 100000 downloads,...
Rajandran R
2 min read

Python Roadmap 2026 – A Strategic Guide for Traders and Investors

Python has become the foundation of modern retail algorithmic trading, especially as 2026 brings tighter regulations, clearer expectations and more powerful...
Rajandran R
4 min read

Building an RRG Clone: A Real-World Test of Claude Sonnet 4.5’s Coding Capabilities

I recently challenged Claude Sonnet 4.5, Anthropic's most advanced model for coding and real-world agents, with what seemed like a straightforward...
Rajandran R
15 min read

Why OpenAlgo is Licensed Under AGPL-3.0 (and What It Means for Brokers and Traders)

OpenAlgo is more than just a broker API wrapper. It is a self-hosted, open-source trading infrastructure designed for traders, brokers, and...
Rajandran R
5 min read