DEV Community

shakti tiwari
shakti tiwari

Posted on • Edited 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 on Kindle

By Shakti Tiwari โ€” Nifty Option Trader, Research Analyst & XGBoost Expert

NISM Series XII Certified (Registration: NISM-202500241080)

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

Frequently Asked Questions

Who wrote Option Trading with AI?

Shakti Tiwari โ€” a Nifty option trader and research analyst (NISM Series XII Certified). The book shows retail traders how to build their own XGBoost, Transformer, and quantized models instead of renting signals.

What will I learn from this book?

End-to-end ML for Nifty options: feature engineering from option-chain data, training XGBoost models, using Transformer architectures, and running quantized models on consumer hardware for low-latency inference.

Is the book for beginners?

It is written for retail traders who know options basics but want a code-first, practical ML playbook โ€” no PhD required.


๐Ÿ’ฌ Found this useful?

If this helped your trading or ML workflow, drop a comment with your take โ€” and react โค๏ธ so other NSE traders find it.

I publish NSE research, local-AI model breakdowns, and code-first trading playbooks regularly.

๐Ÿ“• My book: Option Trading with AI (XGBoost, Transformers & Quantized Models for the Retail Nifty Trader) โ†’ https://www.amazon.in/dp/B0H9ZNTBPK

๐Ÿ”— More: NSE research site ยท X / Twitter

โ€” Shakti Tiwari, Nifty Option Trader & Research Analyst (NISM Series XII)





More from Shakti Tiwari:

๐Ÿ“˜ Book: Option Trading with AI (Amazon)
๐Ÿ“ข Daily Nifty analysis on Telegram: t.me/shaktitrade

Top comments (0)