AI trading bot on NSE: Week of 19 to 23 October 2026 recap

I built an AI trading bot that executes simulated trades with fake money on the NSE, and this week it finished with a gross loss of ₹2,662.06, a 2.63% decline on the bot’s balance. Code enforced every trade and risk limit; the AI read and rated news headlines, while code decided which trades could proceed.

AI trading bot illustration for the weekly NSE paper-trading report: a small robot trader walks a winding road in light drizzle with a lantern and a folded map, stopping to study the map.

Day Trades Won / lost Gross P&L Nifty (same window)
Mon 19 Oct 3 0 / 3 −₹643.72 −0.97%
Tue 20 Oct – – skipped (today is listed in NSE_HOLIDAYS) –
Wed 21 Oct 3 0 / 3 −₹831.64 −1.63%
Thu 22 Oct 1 0 / 1 −₹376.00 +0.47%
Fri 23 Oct 3 0 / 3 −₹810.70 −0.73%
Measure This week Since the start
Starting balance ₹101,339.56 ₹100,000.00
Ending balance ₹98,677.50 ₹98,677.50
Gross P&L −₹2,662.06 −₹1,322.50
Return on starting balance −2.63% −1.32%
Completed trades 10 32
Win rate 0.0% 37.5%
Profit factor 0.00 0.73
Average gross P&L per trade −₹266.21 −₹41.33
Maximum drawdown (end-of-day balances) 2.63% (₹2,662.06) 2.63% (₹2,662.06)

How the Nifty 50 moved this week

The bot traded in four sessions. On Monday, the Nifty 50 fell 0.97%; the bot’s gross loss was ₹643.72. Wednesday brought a 1.63% Nifty decline alongside a ₹831.64 bot loss. On Thursday, the index rose 0.47%, while the bot lost ₹376.00. Friday’s Nifty decline was 0.73%, and the bot lost ₹810.70. Tuesday was listed as an NSE holiday, so the bot stood aside.

Those index moves and the bot’s return measure different things: the Nifty tracks an index, while the bot’s result is on its whole balance. Its balance went from ₹101,339.56 to ₹98,677.50 over the week. These are gross figures, before brokerage, taxes and slippage, which the app does not model. This is one week of data.

Best and toughest NSE trade of the week

The week’s best trade was CGPOWER, which closed at the 3:15 PM close with a gross loss of ₹28.00. The recorded reason was Cabinet approval for CG Power to set up a semiconductor unit. It was the week’s smallest loss, not a winning trade.

The toughest was ETERNAL, stopped out for a gross loss of ₹376.00. The recorded headlines said CLSA set the highest target after Eternal’s Q2 results, while Macquarie had the lowest; another headline discussed brokerages’ Blinkit growth view and potential upside alongside margin risks. The bot’s stop-loss—the price at which it gives up on a trade—and target, the price at which it takes profit, are set by rules. A stop firing is those risk rules doing their job.

What the numbers say about the trading bot’s week

All 10 completed trades lost money: the win rate was 0.0%, average R was -0.91, and expectancy was a gross loss of ₹266.21 per trade. Profit factor was 0.0. The peak-to-trough drawdown was 2.63%, or ₹2,662.06. There were 9 stop-loss exits, no target hits, and 1 trade closed at the end of the session.

By kind of news catalyst, earnings accounted for 5 trades and a gross loss of ₹1,376.66; regulatory approvals for 3 trades and ₹599.20; a broker target change for 1 trade and ₹376.00; and a deal or acquisition for 1 trade and ₹310.20. Each group is a small sample.

The post-session report card compares price moves, not the bot’s trades: bought stocks averaged -1.78% from the bot’s start to the close; strong candidates not bought averaged -0.56%; and candidates with no catalyst averaged -0.47%. The Indian stock market context matters, but these candidate groups are not the same as the Nifty or the bot’s whole-balance return.

How the AI trading bot behaved

The bot screened 100 stocks. Across four covered sessions, the AI had headlines for all 34 candidates and rated 13 strong. Code did not accept 2 AI ratings as strong; 10 trades went ahead, while 3 strong candidates were not bought. The AI reads headline titles and answers fixed factual questions; it does not read the underlying articles. The stricter rating step is live, and code makes the final decision. Every decision, reason and headline is recorded for review after each session.

The softened sector rule was also live: one strong stock per sector gets first choice, and another from that sector can fill a slot only if one remains after first choices. This week had no same-sector trading days and no strong candidates dropped for that reason; the reserve did not need to fill a slot. Across the cumulative record, 6 strong candidates were tagged as dropped under the earlier hard limit, but that earlier period also predates the current softer rule and stricter rating step. The before-and-after results therefore cannot isolate the sector rule’s effect.

Six of the week’s 9 stop-loss exits came within 60 minutes. That is a recorded pattern, not an explanation for the losses.

The experiment for next week

Earnings news coincided with 5 losing trades and a gross loss of ₹1,376.66. I’ll test one behavior change: temporarily keep earnings-catalyst candidates out of the eligible trades. I’ll use the existing per-candidate close and usual stop-and-target results to compare the skipped earnings candidates with trades that still qualify. The entry schedule and stop-loss, target and position-size limits will stay in place; this experiment tests an earnings filter, not a change to those risk controls.

Follow the experiment live: the full record is on the dashboard at niftyexperiment.com.

More from the experiment

How these numbers are measured

  • Gross: before brokerage, taxes and slippage, which are not modelled yet.
  • Win rate: the share of trades that ended in a profit; a trade that ended flat does not count as a win.
  • Profit factor: total gross profit divided by total gross loss.
  • R: profit or loss divided by the amount risked at the stop-loss (a stop-loss hit is −1.00R).
  • Maximum drawdown: the biggest fall from a peak, using end-of-day balances only. It does not capture swings inside a day.
  • Nifty 50: price index, from the moment the bot starts (about 09:35 IST) to 15:15 IST each day. The bot's percentage is on its whole starting balance, so the two are not like-for-like.
  • Return to the close (used for stocks the bot did not buy): the price move from the bot's start to the last close before 15:15, as if the stock had been bought then and held.

Simulation notice: this is a paper-trading experiment with fake money. No real orders are placed. All results are gross, before brokerage, taxes and slippage, and a few days of results prove nothing. Nothing here is investment advice or a recommendation to buy or sell any security; stocks named are examples from the simulation. This post was written by an AI from the app's recorded data, and the tables are produced directly from the database.

Comments