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
Stock Market Basics

What Is a Demat Account?

Demat and trading accounts are held by different parties. Where your shares really sit, what a broker can and cannot do, and what happens if one shuts down.

Atul Shrivastava Sep 11, 2026 7 min read
FB THEFINBABA
Stock Market Basics

Delisting of Shares in India

Voluntary and compulsory delisting work very differently for a shareholder: how the exit price is set, what happens if you miss it, and why suspension is a trap.

Atul Shrivastava Sep 11, 2026 6 min read
FB THEFINBABA
Stock Market Basics

How to Read an Annual Report

The financial statements have three articles of their own. This one covers the rest of the document - the auditor, the notes, related parties, and a reading order.

Atul Shrivastava Sep 10, 2026 7 min read
TRADING STRATEGY
F&O

Bank Nifty vs Nifty

One index holds fifty companies across every sector, the other a dozen in one. What that does to daily movement, to premiums, and to a small account.

Atul Shrivastava Sep 10, 2026 7 min read
FB THEFINBABA
Stock Market Basics

Circuit Limits, ASM and GSM

Price bands, what a locked circuit actually means for an exit, and how the surveillance framework changes the rules on a stock without the company doing anything.

Atul Shrivastava Sep 9, 2026 7 min read
FB THEFINBABA
Stock Market Basics

How to Verify a SEBI Registration

What each category of registration permits, how to check a number against the public register, and where advice ends and distribution begins.

Atul Shrivastava Sep 9, 2026 7 min read
TRADING STRATEGY
F&O

Rollover in Futures and Options

Closing the near series and opening the next is two transactions, not one continuation. What it costs, when it is sensible, and what rollover data does not tell you.

Atul Shrivastava Sep 9, 2026 7 min read
FB THEFINBABA
Stock Market Basics

IPO Investing in India

How the retail allotment lottery works, why oversubscription cuts both ways, what listing gains compensate for, and the questions the prospectus answers.

Atul Shrivastava Sep 8, 2026 7 min read
FB THEFINBABA
Stock Market Basics

What a Trade Actually Costs in India

Brokerage is the smallest line for most retail investors. Here is the full stack of stock market charges, which ones scale with size, and where the real cost hides.

Atul Shrivastava Sep 8, 2026 7 min read
FB THEFINBABA
Stock Market Basics

Inflation and Real Returns

A nine percent return during seven percent inflation is a two percent return. How to compute what you actually earned, and why tax widens the gap.

Atul Shrivastava Sep 7, 2026 7 min read
FB THEFINBABA
Stock Market Basics

Asset Allocation for Beginners in India

Most Indian households already have an allocation - property and gold decided it years ago. Here is how to see the one you have before choosing the one you want.

Atul Shrivastava Sep 6, 2026 8 min read
TRADING STRATEGY
F&O

Margin in Futures and Options

SPAN and exposure explained, why the peak margin snapshot matters, what a shortfall costs, and the trap hiding inside funding your margin by pledging shares.

Atul Shrivastava Sep 6, 2026 9 min read
FB THEFINBABA
Stock Market Basics

Financial Ratios for Stock Analysis

The financial ratios worth using, what each one is actually asking, and the specific situations where a good-looking ratio is telling you the wrong thing.

Atul Shrivastava Sep 5, 2026 7 min read
FB THEFINBABA
Stock Market Basics

Dividend Investing in India

Dividend investing in India: why yield is not return, what the shift to taxation in your own hands changed, and the traps in a high-yield screen.

Atul Shrivastava Sep 5, 2026 7 min read
FB THEFINBABA
Stock Market Basics

ETF vs Index Fund

ETF vs index fund in India: they track the same thing but behave differently. Impact cost, tracking error, iNAV, demat requirement and which suits which investor.

Atul Shrivastava Sep 5, 2026 7 min read
FB THEFINBABA
Stock Market Basics

SIP vs Lumpsum

SIP vs lumpsum in India: what the arithmetic says, what the behaviour says, and why the honest answer depends on where the money is coming from.

Atul Shrivastava Sep 4, 2026 7 min read
FB THEFINBABA
Stock Market Basics

Index Funds vs Stocks

Index funds vs individual stocks in India: what the evidence says, what picking stocks actually requires, and why most people should hold index funds anyway.

Atul Shrivastava Sep 4, 2026 7 min read
TRADING STRATEGY
F&O

Calendar Spread Options in India

The calendar spread explained for Indian markets: how selling near and buying far works, why it is a volatility position, and what weekly expiry does to it.

Atul Shrivastava Sep 4, 2026 7 min read
TRADING STRATEGY
F&O

Covered Call Strategy in India

The covered call in India explained: how it works with worked numbers, the upside you sell, lot size and settlement realities, and when it is the wrong idea.

Atul Shrivastava Sep 3, 2026 8 min read
FB THEFINBABA
Stock Market Basics

Corporate Actions Explained

Corporate actions explained for Indian investors: what a split, bonus, dividend, rights issue and buyback actually do to your holding, your tax and your backtest.

Atul Shrivastava Sep 3, 2026 8 min read
FB THEFINBABA
Stock Market Basics

How to Read a Cash Flow Statement

How to read a cash flow statement: the three sections, why operating cash flow matters most, and the warning signs that a profitable company is not generating cash.

Atul Shrivastava Sep 3, 2026 6 min read
FB THEFINBABA
Stock Market Basics

How to Read a Balance Sheet

How to read a balance sheet before buying a share: what the three sections mean, the numbers that matter, and the India-specific items most guides leave out.

Atul Shrivastava Sep 2, 2026 7 min read
FB THEFINBABA
Stock Market Basics

Trading Journal

A trading journal that survives past three weeks: what to record, why the reason field matters most, how to review it, and what your broker already logs for you.

Atul Shrivastava Sep 2, 2026 7 min read
TRADING STRATEGY
F&O

Hedging With Futures in India

Hedging holdings with index futures in India: how the calculation works, what beta does to it, the real costs, and the cases where hedging is the wrong answer.

Atul Shrivastava Sep 2, 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
TRADING STRATEGY
F&O

Expiry Day Trading in India

Expiry day trading in India: how premiums and the Greeks behave through the session, the physical settlement trap on stock options, and what automation must handle.

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
TRADING STRATEGY
F&O

Futures vs Options in India

Futures vs options in India compared: obligation versus right, margin and premium, how each behaves at expiry, taxation, and which suits which view.

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
TRADING STRATEGY
F&O

Iron Condor Strategy in India

The iron condor strategy in India explained with worked numbers: the four legs, defined risk, margin benefit, the Greeks, and how weekly expiry changes it.

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
TRADING STRATEGY
F&O

Straddle vs Strangle

Straddle vs strangle explained with Indian examples - breakevens, the Greeks behind each, margin requirements, and which structure suits which market condition.

Atul Shrivastava Aug 20, 2026 8 min read
TRADING STRATEGY
F&O

How to Read an Option Chain

How to read an option chain: strikes, open interest, change in OI, implied volatility, PCR and max pain - what each column tells you and what it cannot.

Atul Shrivastava Aug 19, 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
Stock Market Basics

How to Learn the Stock Market From Scratch

How to learn the stock market from scratch - the order that actually works, what to skip early, how long each stage takes, and the mistakes that cost beginners most.

Atul Shrivastava Aug 14, 2026 7 min read
Stock Market Basics

Order Types in the Stock Market, Explained

Order types in the stock market explained for Indian traders - market vs limit, SL vs SL-M, bracket, cover, AMO and GTT, and which one to use when.

Atul Shrivastava Aug 14, 2026 7 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
Basics Fees

What is Expense Ratio in Mutual Funds? 2026 Guide

Expense ratio is the silent killer of mutual fund returns - even 0.5% extra can cost you lakhs over 20 years. Here is everything you need to know.

Atul Shrivastava Mar 15, 2026 2 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