Smart Trader 

An NSE trading desk that backtests first and trades carefully.

Status
Live; this host is not checked from the browser
Access
Overview + sign-in
Runs on
My server, through a Cloudflare tunnel
Year
2026
Area
FinTech, Real-time
Smart Trader, screenshot of the live app

A full-stack platform for Indian equities: 31 strategies backtested on NSE history, a live scanner that manages entries, trailing stops and square-off, Telegram alerts, and a tightly guarded executor that places real orders through Dhan.

strategies: 14 intraday, 17 swing
31
paper trades in one month, profit factor 1.30
347
risk per real trade, with a daily kill switch
2%
square-off for every intraday position
15:10

Why it exists

Retail algo trading usually goes one of two ways: backtests that never meet a real market, or live bots that trade before anyone has checked the numbers. Smart Trader is a zero-cost platform that does the boring part first: it backtests every strategy, picks the best one per stock, and watches the live market for setups.

The newer work closes the loop. A heavily guarded adapter places real orders on Dhan for a short whitelist, so real fills can be compared with what the simulator predicted.

How it works

  1. 1

    Backtest

    The Python engine runs strategies over NSE price history and saves a report for each stock.

  2. 2

    Activate

    A stock, strategy and timeframe that earned it goes on the active list; that list is all the scanner watches.

  3. 3

    Scan the market

    During market hours the scanner manages open positions and trailing stops, then looks for new setups between 09:30 and the 15:10 square-off.

  4. 4

    Signal

    Each signal is saved with a simulated trade and pushed to the dashboard over WebSocket and to Telegram.

  5. 5

    Execute, carefully

    For a whitelisted pair, a market order goes to Dhan and a broker-side protective stop is placed immediately.

What it does well

Strategy library with a backtester
31 strategies, intraday and swing, each backtested before it ever sees live data.
Live scanner and alerts
Entries, trailing stops and exits handled in market hours, with WebSocket and Telegram alerts.
Charts, portfolio and risk
Candlestick charting with portfolio and risk tracking in a React dashboard.
Guarded real-money execution
Fixed 2% risk per trade, a ₹600 daily-loss kill switch, 20 orders a day, and stops that live at the broker.

Decisions I made

Risk is fixed, size flexes
Real position size is the smaller of a risk-based, a notional and a hard quantity cap, so risk stays at 2% whatever the stop distance.
Stops live at the broker
A protective stop-limit rests at Dhan from the first second, so a crash on my side can't leave a position unprotected.
State survives restarts
Positions and the kill switch are stored and reconciled with the broker on boot, after an in-memory map once lost a live position.
Fails safe
If the static-IP proxy that SEBI rules require goes down, orders fail; they never bypass it.

What it doesn't do (yet)

  • Real-money trading is at an early validation stage on a small account. It is not a proven autonomous system.
  • Real execution is cash-equity intraday only, and exits can lag the market by up to about 100 seconds.
  • Paper results are before real costs, so live net returns will trail the simulation.