An autonomous AI agent that trades NSE/BSE Nifty 50 stocks using four backtested swing strategies. Wakes at 9:00 AM IST every trading day, scans 32 stocks, consults Claude AI, and executes β fully without human involvement.
Markets generate data every millisecond. Humans cannot scan 32 stocks simultaneously, enforce discipline under pressure, or wake at 9:00 AM IST without fail β every single day.
Yahoo Finance was an unofficial scraper β random 429 errors, 15β30 min stale prices, silent failures. Replaced with Upstox API: official SEBI-regulated, real-time, SLA-backed.
Static rule engines don't improve. Trade-Lab analyzes every closed trade across 10 dimensions and injects lessons directly into the AI's decision context β every week.
Fully autonomous β no human involvement required
Score gate β₯ 2.0 required β at least 2 strategies must agree before Claude AI is consulted.
28 trades/yr Β· ~4 day hold
22 trades/yr Β· ~5 day hold
15 trades/yr Β· ~7 day hold
20 trades/yr Β· ~4 day hold
CLAUDE AI CALLED
Every Sunday at 20:00 IST, Trade-Lab analyzes every closed trade across 10 dimensions and injects lessons directly into Claude's decision context.
Hard-coded. Cannot be overridden. Not even by Claude.
Claude AI constantly evaluates the 10-day Nifty 50 trend, dynamically adjusting the bot's risk appetite and enforcing defensive filters to protect capital during downturns.
Normal operation. All 32 stocks scanned. Standard entry criteria apply.
Restricted Mode Activated. Only scans defensive sectors (FMCG, Pharma, IT). Enforces strict oversold gates (RSI β€ 40) & Volume > 20d avg.
Emergency Skip. Morning scan aborted immediately to protect capital in a crashing market.
Deterministic rule-based fallback if Claude API goes down. The bot never runs blind.
Core language β agent, strategies, risk, broker
Decision brain β entry, SL, TP, confidence scoring
SEBI-regulated NSE/BSE feed β OHLCV + live quotes
24/7 cloud deployment β 11 scheduled jobs/day IST
Real-time phone alerts β BUY, SELL, daily report
Free Azure credits (~$100) β ~9 months runtime
Live trading begins Month 4 on Upstox Β· βΉ50,000 initial
| Market Condition | Calls/Day | Cost/Day | $4.77 credit lasts |
|---|---|---|---|
| Active bull market | 8β12 | $0.05 | ~3 months |
| Normal market | 4β7 | $0.025 | ~5 months |
| Quiet market | 1β3 | $0.01 | 16+ months |
Note: Claude is only called when: trading day + score β₯ 2.0 + earnings clear + signal fresh