Trading Bot

Intraday NIFTY Options

Dashboard

Real-time overview of your trading auto pilot

NIFTY 50

Auto Pilot

Today's P&L 💰

Open Positions 📈

Active spreads

Capital

Max Daily Loss:
Broker
Trading Window

09:20 – 10:30

Auto-exit by 15:10 IST

Max 2 trades/day

Quick Actions

Positions

Active and historical spread positions

No positions yet

Positions will appear here once Auto Pilot starts trading

Today's Trade Analysis

Comprehensive breakdown of every decision the bot makes today

📊

Loading analysis...

Trade Plans

Bot-generated trade plans with strategy and rationale

No trade plans yet

The bot generates plans when market signals meet the threshold

Orders

All order legs placed by the bot

No orders yet

Symbol Side Qty Price Fill Price Status Time

Signals

Market regime scoring — how the bot decides direction

No signals computed yet

Signals are generated during the entry window (09:20–10:30)

Market Screener

Top movers, volatility, and swing trade picks from NIFTY-50

NIFTY 50
Market

Advance / Decline

/

As of:
🟢 Live (Angel One) 🟡 Delayed ~15 min (Yahoo Finance) 🔴 Demo Data
# Symbol Sector LTP Change % Change ₹ Volume High Low
# Symbol Sector LTP Change % Change ₹ Volume High Low
# Symbol Sector LTP Today 1 Week 1 Month 3 Months Volume
# Symbol Sector LTP Daily Range % ATR (14d) Beta Today % Volume

🎯 Top Swing Trade Picks

2-4 Week Horizon

⚠️ This is AI-generated analysis for educational purposes only. Not investment advice. Always do your own research (DYOR) before making trading decisions. Past performance does not guarantee future results.

Loading live market data...

Fetching NIFTY-50 quotes from Angel One

No screener data available

Click Refresh to load market data

P&L Report

Daily profit/loss performance summary

No P&L data yet

P&L data appears after trades are closed

Total Net P&L

Trading Days

Win Rate

Avg Return/Day

Date Trades Won Lost Gross P&L Net P&L Max DD Return %

Audit Log

Complete decision trail — everything the bot did and why

No audit entries yet

Every bot action is logged here for full transparency

Settings

Subscription, risk parameters, trading mode & instruments

Trading Mode

⚠️ LIVE trading requires your own broker connected. Without a broker, Auto Pilot runs in PAPER mode only.
✅ Settings saved!

Risk Parameters

Capital

Max Daily Loss

Per Trade Risk

Max Trades/Day

Max: ₹1,200 (unless admin override)

Instruments

NIFTY Weekly options
BANKNIFTY Weekly options

Trading Window

Entry Start

Entry End

Auto Exit

Broker Connection

Choose your broker and connect your trading account

1

Choose Your Broker

Select the broker you have a demat account with. You can switch anytime.

Switching broker...
🔄

Switch Broker?

Your current connection will be disconnected

Your current broker session will be disconnected and tokens cleared.

You'll need to enter your credentials for the new broker to reconnect.

Your trade history and portfolio data remain intact.

2

Connect Your Account

Account: Token:
✅ Broker connected successfully! You're ready to trade.

⏳ Your session has expired — please reconnect below to resume trading.

📝 Paper Trading — No Connection Needed

All trades are simulated with mock fills. No real money is used. This is the best way to test your strategy before going live.

When you're ready for real trading, select one of the live brokers above and connect your account.

Auto-connecting to Angel One using server credentials...

TOTP is auto-generated from your configured TOTP secret

🤖 Auto-Connect Available

All credentials are configured in server settings. TOTP will be auto-generated.

🔐 Angel One SmartAPI Login

Enter your Angel One credentials below. Your password and TOTP are used once to generate a session token — they are never stored.

Get it free at smartapi.angelone.in → Create App → Copy API Key

🔒 Your credentials are safe

Password and TOTP are used once to get a session token, then discarded. The API key is encrypted and stored for future reconnects.

🔑 Dhan API Token

Generate your access token from web.dhan.co → My Profile → API Access, then paste it below.

🪁 Zerodha Kite Connect — Step 1: Enter API Keys

You need a Kite Connect API subscription (₹2,000/mo) from developers.kite.trade. Create an app there to get your API Key and API Secret.

🔒 Your keys are encrypted and stored securely

API keys are used to authenticate with Zerodha's servers. They are encrypted before storage and never exposed in the UI after saving.

✅ API Keys Configured — Step 2: Connect Your Account

Your API keys are saved. Click the button below to log in with your Zerodha account. You'll be redirected to Zerodha's login page, then back here automatically.

Zerodha tokens expire daily. You'll need to reconnect each morning by clicking the button above.

✅ Your broker is connected and ready to trade

Broker tokens typically expire daily. If your session expires, you'll see a warning here and can reconnect by entering your credentials again.

3

Getting Started Guide

How to connect Angel One:

  1. 1. Open an Angel One demat account (if you don't have one)
  2. 2. Go to smartapi.angelone.in → Sign up → Create App → Copy your API Key
  3. 3. Enable TOTP in your Angel One app → Settings → Security → Enable TOTP. Save the secret in your authenticator app (Google Authenticator, Authy, etc.)
  4. 4. Use the form above to log in with your API Key, Client ID, Trading PIN, and the 6-digit TOTP code from your authenticator
💡 Daily reconnect: Angel One sessions expire each day. You'll need to enter your TOTP again each morning. Your API Key is saved — no need to re-enter it.

How to connect Dhan:

  1. 1. Open a Dhan demat account (if you don't have one)
  2. 2. Login to web.dhan.co → Go to My Profile → API Access
  3. 3. Click "Generate Access Token" — copy your Client ID and the token
  4. 4. Paste them in the form above and click Connect
💡 Token validity: Dhan access tokens are valid for a limited time. Generate a fresh one when prompted.

How to connect Zerodha:

  1. 1. Subscribe to Kite Connect API (₹2,000/month) and create an app
  2. 2. Copy your API Key and API Secret from the Kite Connect dashboard
  3. 3. Enter them in Step 1 above and click "Save Keys & Continue"
  4. 4. Click "Connect Zerodha Account" — you'll be redirected to Zerodha's login page
  5. 5. Log in with your Zerodha credentials and authorize the app — you'll be redirected back automatically
💡 Daily reconnect: Zerodha tokens expire each day. Click "Connect Zerodha Account" again each morning. Your API keys are saved — you only enter them once.

Paper Trading — Zero Setup

No account or connection needed! The bot simulates all trades with mock order fills. This is the safest way to test and validate your strategy before using real money.

💡 Ready for live trading? Select one of the live brokers above (Angel One, Dhan, or Zerodha), connect your demat account, and switch your mode to LIVE in Settings.

My Portfolio

Track holdings, get analysis & set price alerts

Invested

Current Value

Total P&L

Holdings

Best Performer

Worst Performer

Type a symbol and press Fetch or Tab to auto-fill details

Create Price Alert

Test your notification setup before saving
💼

Your portfolio is empty

Click "+ Add Stock" to start building your portfolio

🔔

No alerts configured

Set up SMS/Email alerts for your holdings or any stock

📘 About Alerts

SMS alerts use AWS SNS. Requires AWS credentials and a verified phone number in E.164 format (+919876543210).

Email alerts use AWS SNS/SES. Configure AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION in your .env.

Dry Run mode is ON by default (SNS_DRY_RUN=True). Alerts are logged but not sent. Set to False for real delivery.

System-suggested alerts are generated during analysis (🤖 Auto). Click "Accept" to activate them.

🤖 Trade Intelligence

Self-learning analysis of losses & automated rule adjustments

🛡️ Admin Panel

Manage users, subscriptions, pricing & payments

All Registered Users

User Role Subscription Expires Status Actions

⏳ Pending Payments

Manual UPI payments awaiting verification. Razorpay payments are auto-verified.

📋 Payment History

User Plan Amount Method Reference Status Date

Subscription Plan Pricing

Update subscription prices. Changes apply to new payments only.

Create Admin User

Admin users have full access to all features including this panel.

📡 Live Market Data Status

Active Provider
Angel One Status

How Market Data Works

📊 Angel One SmartAPI — Real-time data for screener, signals, portfolio. Requires your Angel One API credentials.

📈 Yahoo Finance — Free fallback (~15 min delayed). Used automatically if Angel One is not configured or fails.

📝 Demo Data — Simulated data for testing. Used when no live source is available.

Trading Rules: Only admin can live trade via this shared broker. Other users need to connect their own broker for live trading — otherwise they can paper trade.

🔑 Configure Shared Angel One SmartAPI

These credentials power live market data for all users and enable admin live trading.

Found next to API Key in SmartAPI portal → My Smart API & Apps

The same PIN you use to log into Angel One mobile/web app

From Angel One → Profile → Security → Enable External TOTP. The Base32 secret shown during setup (NOT the 6-digit OTP).

How to get these credentials:

  1. Log in to smartapi.angelone.in → My Smart API & Apps
  2. Create a new app → copy the API Key and Secret Key
  3. Your Client ID is your Angel One demat ID (e.g. A12345)
  4. Trading PIN is the MPIN you use to log into Angel One app
  5. Enable External TOTP in Angel One → Security → copy the Base32 secret (not the 6-digit code)