Skip to main content
TheFinBaba Blog

Guides on Algo Trading, Python & Stock Market

Practical, expert-written guides on algorithmic trading with Python, Demat accounts, F&O strategies, taxation, and everything else Indian traders care about.

FB THEFINBABA
Algo Trading

Market Data Quality for Trading Systems

Missing candles, bad ticks, unadjusted prices and holiday calendars. The failures that make a backtest lie and a live system act on a number that was never real.

Atul Shrivastava Sep 15, 2026 7 min read
FB THEFINBABA
Algo Trading

Order Rejections and Partial Fills

Most live trading bugs are not in the strategy. They are in assuming an order that was placed was filled. What to handle, and why state must come from the broker.

Atul Shrivastava Sep 14, 2026 7 min read
FB THEFINBABA
Algo Trading

When a Trading Strategy Stops Working

Telling an ordinary drawdown from genuine decay is the hardest judgement in systematic trading. What the evidence looks like, and why the rule must be written first.

Atul Shrivastava Sep 12, 2026 7 min read
FB THEFINBABA
Algo Trading

Swing Trading in India

Swing trading in India: what the holding period changes, overnight gap risk, the cost advantage over intraday, and what a tested swing system needs.

Atul Shrivastava Sep 1, 2026 7 min read
FB THEFINBABA
Algo Trading

Intraday Trading in India

Intraday trading in India: the cost arithmetic against small moves, why noise dominates short timeframes, and what an intraday system must handle to be viable.

Atul Shrivastava Sep 1, 2026 7 min read
FB THEFINBABA
Algo Trading

Retail Algo Trading Framework

How to structure a retail algo trading system: the five layers, what belongs in each, why the strategy should be the smallest part, and what to build first.

Atul Shrivastava Sep 1, 2026 7 min read
FB THEFINBABA
Algo Trading

Python vs Pine Script vs AmiBroker

Python vs Pine Script vs AmiBroker for Indian traders: what each is actually built for, where each stops, and which one your situation calls for.

Atul Shrivastava Aug 31, 2026 7 min read
FB THEFINBABA
Algo Trading

Best VPS for Algo Trading in India

Choosing a VPS for algo trading in India: why the static IP decides it, how little CPU you need, where to host, and what a realistic monthly cost looks like.

Atul Shrivastava Aug 31, 2026 7 min read
FB THEFINBABA
Algo Trading

Kite Connect Login Automation

How the daily access token works with Kite Connect, why the browser step exists, how TOTP-based brokers differ, and the security trade-off you are accepting.

Atul Shrivastava Aug 31, 2026 7 min read
FB THEFINBABA
Algo Trading

Best Algo Trading Course in India

How to judge an algo trading course in India: the four kinds that exist, the criteria that matter, the red flags, and an upfront note that we sell one of them.

Atul Shrivastava Aug 28, 2026 7 min read
FB THEFINBABA
Algo Trading

Is Algo Trading Legal in India?

Is algo trading legal in India? Yes for retail traders automating their own account. Here is what is regulated, what needs registration, and what crosses a line.

Atul Shrivastava Aug 27, 2026 7 min read
FB THEFINBABA
Algo Trading

Common Algo Trading Mistakes

The common algo trading mistakes that cost Indian retail traders most - in testing, in risk, in code and in judgement - with the fix for each one.

Atul Shrivastava Aug 26, 2026 8 min read
FB THEFINBABA
Algo Trading

Zerodha Historical Data API in Python

Pull historical candles from the Zerodha historical data API in Python: interval limits, chunking long ranges, caching locally, and adjusting for splits.

Atul Shrivastava Aug 24, 2026 8 min read
FB THEFINBABA
Algo Trading

Paper Trading Setup in India

How to set up paper trading in India - what it catches that a backtest cannot, the platforms available, building your own simulator, and when to go live.

Atul Shrivastava Aug 22, 2026 8 min read
FB THEFINBABA
Algo Trading

Best Broker for Algo Trading in India

Choosing the best broker for algo trading in India: the criteria that actually matter, how the main API brokers compare, and an upfront note on our own bias.

Atul Shrivastava Aug 22, 2026 8 min read
FB THEFINBABA
Algo Trading

Risk Management in Trading

Risk management in trading, with the arithmetic: fixed fractional risk, position sizing as a formula, loss limits, correlation, and why drawdowns compound.

Atul Shrivastava Aug 21, 2026 9 min read
FB THEFINBABA
Algo Trading

Do You Need Coding for Algo Trading?

Do you need coding for algo trading in India? What programming is actually required, where no-code platforms stop working, and how long it takes to learn.

Atul Shrivastava Aug 18, 2026 8 min read
Algo Trading

How to Run a Trading Bot 24x7 Without Babysitting It

How to run a trading bot 24x7 - why a laptop fails, choosing a VPS, static IP for broker registration, auto-start on reboot, and monitoring that actually works.

Atul Shrivastava Aug 13, 2026 6 min read
Algo Trading

SEBI Algo Trading Rules for Retail Traders

What SEBI's algo trading framework means for retail traders in India - who it applies to, static IP registration, what counts as an algo, and how to stay compliant.

Atul Shrivastava Aug 12, 2026 5 min read
Algo Trading

Zerodha API Access Token: How to Generate It Properly

How to generate a Zerodha Kite Connect access token in Python, why it expires every morning, how to store it safely for your bot, and what the common errors mean.

Atul Shrivastava Aug 12, 2026 5 min read
Free Account Opening

Open a Free Demat & Trading Account in 5 Minutes

Start trading stocks, F&O, IPOs, bonds & ETFs with Zerodha — India's most trusted discount broker. Zero account-opening fee, paperless Aadhaar KYC, and the best APIs (Kite Connect) for Python algo trading.

  • Zero account-opening fee
  • ₹0 brokerage on equity delivery
  • Kite Connect API — best for Python algo traders
  • Paperless Aadhaar e-KYC in 5 minutes
Open Free Demat Account

* Zerodha is SEBI-registered. Account opening subject to KYC approval. Atul Shrivastava is an Authorised Person (AP) — Reg AP2516003481.

Trusted by 1.6 Cr+ Indian Investors

Zerodha is India's largest stock broker by active clients (NSE data, 2026).

₹0
Delivery
₹20
Intraday
5 min
Opening