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

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