Video summary
How to Build a Trading Strategy Using Claude AI (Step-by-Step)
Main summary
Key takeaways
Summary
The video demonstrates how to use Claude and the Groww API to build, backtest, and prepare an automated NIFTY options strategy. The featured strategy is an intraday 9/21 EMA crossover.
Raahi Bhushan describes his usual approach as conservative, mostly focused on NIFTY, and based on mean reversion, often using delta-neutral positions. The crossover strategy is a separate demonstration.
Strategy framework
- Test the NIFTY 9- and 21-period EMA crossover on 5-, 15-, and 30-minute time frames.
- Enter bullish when the 9 EMA crosses above the 21 EMA. On a downward crossover, exit and take a bearish position.
- Avoid the early, potentially choppy market. Make the entry start time adjustable, with 9:30 a.m. or later suggested.
- Require a hard square-off by 3:00 p.m.
- Compare ATM option buying, deep-ITM option buying, and option selling.
- Review performance by time frame, entry timing, crossover number, and whipsaws. The presenter notes that repeated crossovers in a mean-reverting market can cause losses for a trend-following setup.
- Model trading friction—including slippage, brokerage, STT, and exchange charges—and evaluate gross versus net results.
- Include paper-trading and live-execution modes. The presenter recommends testing in paper mode before live trading. Live execution requires a configured static IP and an additional confirmation step.
Backtest results shown
The dashboard reports a backtest beginning on September 3, 2024, covering about two years and two months of data.
- Trades: 382 total; 194 wins and 188 losses
- Win rate: 50.79%
- Expectancy: ₹139 per trade, as reported
- Gross P&L: Approximately ₹130,000
- Net profit: Approximately ₹53,000 after modeled costs
- Maximum drawdown: Approximately ₹35,000
- Profit factor: 1.14
The best result in the quick comparison was reported for a 15-minute ATM option-selling setup, with net profit of about ₹53,000. ATM and deep-ITM option buying could be gross-profitable in some results but became negative after costs; the presenter attributes this to slippage and charges.
The subtitles give inconsistent descriptions of the slippage assumption, including roughly 0.5% of premium and a small per-trade price adjustment. The exact modeling should be checked in the dashboard or code.
The presenter says Groww’s historical options data includes available strike prices from around January 2020, which could allow testing across the COVID period. This is presented as a feature of the data source, not as a performance claim.
Instruments, tools, and cautions
- Asset/index: NIFTY
- Instruments: ATM and deep-ITM options; option buying and selling
- Tools/platforms: Claude, Groww API, TradingView charts
- Risk cautions: Backtest results depend on assumptions and modeled costs and do not establish future performance. The video’s closing disclaimer says investments and securities markets are subject to market risk and advises viewers to read relevant documents and risk disclosures before investing in equities, derivatives, mutual funds, or other exchange-traded instruments.
Presenters and sources: Raahi Bhushan, independent quantitative options trader; Trading with Groww.
Rate this summary
Your feedback will help improve summaries.
Improve this summary
Reprocess with a stronger model when the summary feels incomplete or inaccurate.
Translate summary in another language
Ask questions to this video
Chat for follow-up questions, clarifications, and source-backed answers.