DEV Community

shakti tiwari
shakti tiwari

Posted on • Originally published at shaktitiwari715-ai.github.io

I Wrote a Book: Option Trading with AI (XGBoost, Transformers & Quantized Models for the Retail Nifty Trader)

Option Trading with AI - Book

I Wrote a Book: Option Trading with AI

After months of research on the Indian derivatives market, my book Option Trading with AI: XGBoost, Transformers & Quantized Models for the Retail Nifty Trader is now live on Kindle.

👉 Read it on Amazon: https://www.amazon.in/dp/B0H9ZNTBPK

Why this book exists

Most "AI for trading" content is either academic math with no executable code, or retail gurus selling signals. This book sits in the middle: a working, code-first playbook for the retail Nifty trader who wants to build their own models — not rent someone else's.

What's inside

  • XGBoost for option-chain OI — turning open interest, PCR, and max-pain into a ranked feature set
  • Transformers for sequence modeling — using attention on intraday Nifty spot + futures basis
  • Quantized models for edge deployment — running inference on a phone/termux-class device at low latency
  • Backtesting discipline — why most retail "strategies" fail out-of-sample, and how to avoid the leak
  • Risk framing — position sizing, drawdown limits, and the cost of theta

Who it's for

  • Nifty 50 / Nifty Bank option buyers who want a quantitative edge
  • Python users comfortable with pandas who want a real ML pipeline
  • Anyone tired of paid tips and ready to build their own research stack

A note on responsibility

This is research and education, not SEBI-registered advice. The goal is to make you a better researcher of your own trades — not to hand you a black box.

Where to start

  1. Grab the book: https://www.amazon.in/dp/B0H9ZNTBPK
  2. Explore the free NSE research site: https://shaktitiwari715-ai.github.io/shakti-tiwari-nse/
  3. Follow the build logs and follow-up articles here on Dev.to

See you on the other side. — Shakti Tiwari

Top comments (0)