Setup required
--:--:-- IST
How to get your Upstox API credentials (free, 5 min)
Step 1 — Create app
Go to developer.upstox.com → Login with your Upstox account → Create a new app → Set redirect URI to http://localhost
Step 2 — Get auth code
Open this URL in browser (replace YOUR_API_KEY):
https://api.upstox.com/v2/login/authorization/dialog?response_type=code&client_id=YOUR_API_KEY&redirect_uri=http://localhost
Login → copy the code= value from the redirect URL.
Step 3 — Paste below
Enter your API key, API secret, and the auth code below. The app will exchange it for an access token automatically and start pulling live data.
Note: Auth codes expire in a few minutes. If connection fails, repeat step 2 to get a fresh code. Access tokens are valid till midnight.
UP
Paste your Upstox access token directly
You already have an access token from Upstox → Apps → Analytics tab. Just paste it below — no API key or secret needed.
⚠ Analytics token = read-only (market data + signals). To place real orders, use the OAuth tab with an Algo Trading app.
Access token (paste your full JWT token)
Indicator summary — NIFTY 50
IndicatorValueSignalInterpretation
Detected candlestick patterns
Support & resistance levels
🔍 Live data diagnostic
Click "Run diagnostic" to see exactly why real data is or isn't loading.
CE OI CE LTP Strike PE LTP PE OI
No positions loaded.
Today P&L
₹0
Realised
Trades
0
Executed today
Win rate
Win / Loss
Best trade
Today high
Next scan
Auto refresh
Win rate
Win / Loss
Capital used
₹0
Of daily limit
Next scan
Interval: 5 min
Auto trading engine
Click to start. Engine scans signals every 5 min and places orders automatically.
Engine configuration
Indices to scan
Signal filters
Min confidence %
Scan interval (min)
Risk management
Max capital per trade ₹
Max trades per day
Daily loss limit ₹
Entry rules
Exit & SL rules
Option selection
Strike selection
Expiry preference
Order type
Trade log
Engine not started. Configure above and click Start.
Live alerts
Alerts will appear here when engine runs.
Risk monitor
Daily loss ₹0 / ₹5,000
Trades used 0 / 5
Capital deployed ₹0
Risk level
Low risk
Backtest configuration
Index
Period
Candle interval
Min confidence %
Capital per trade ₹
SL multiplier (ATR)
Target multiplier (ATR)
Signal filters
Total trades
Win rate
Net P&L
Profit factor
Max drawdown
Avg win
Avg loss
Sharpe ratio
Equity curve
Monthly P&L breakdown
Trade log (0 trades)
Date Signal Entry Exit Result P&L Confidence
Virtual capital
₹10,00,000
Current P&L
₹0
Win rate
Open positions
0
Total trades
0
Next scan
Unified engine
Paper trade settings
Capital per trade ₹
Max trades/day
Min confidence %
Scan interval
Strike
Daily loss limit ₹
Paper trade log
Start paper trading to see simulated trades here.
Equity curve
Signal log
Alerts appear here when engine runs.
Daily P&L
Total trades
0
Real trades
0
Live orders
Paper trades
0
Simulated
Overall P&L
₹0
Win rate
Best trade
Cumulative P&L curve
▬ Real trades ▬ Paper trades
Daily P&L breakdown
Trade log (0 showing) — click any row for full details
Type Date Buy time Sell time Duration Index Option Action Buy ₹ Sell ₹ Qty Exit reason Gross P&L Net P&L Conf% Order ID Flags
🧠 Intelligence engine status
Cycle count
0
Market sentiment
CE signal boost
PE signal boost
Start the intelligence engine to see live market outlook, news, and candlestick pattern analysis.
Live candlestick patterns
NIFTY 50
BANK NIFTY
NIFTY MIDCAP
NIFTY FIN
Latest headlines
No headlines yet.
🌐 Market data hub — all sources
SGX NIFTY (Futures)
Fetching…
Dow Jones Futures
Fetching…
S&P 500 Futures
Fetching…
USD/INR
Fetching…
FII Net (₹ Cr)
DII Net (₹ Cr)
Market sentiment (news)
Click "Refresh market data" to fetch
⚙ Self-tuning engine — current parameters
Not run yet. Click "Auto-tune parameters" to analyse trade history.
Indicator win rates from trade history
Run auto-tune to see indicator performance.
🤖 Claude AI analyst
Never run
Click Run AI analyst to have Claude review your trade history, identify patterns, and suggest specific improvements to signal filters, risk management, and entry/exit timing.
📡 Grafana Cloud telemetry
● Not configured
OTLP Endpoint URL
Instance ID (numeric)
API Token / Password
Push interval:
Metrics sent to Grafana
📈 nse_win_rate_pct
💰 nse_total_pnl_inr
📉 nse_max_drawdown_inr
🎯 nse_signal_strength_pct
📊 nse_signal_rsi
📊 nse_signal_macd_histogram
🧠 nse_learner_weight (×11)
🚫 nse_learner_block_rate_pct
💎 nse_paper_capital_inr
🌐 nse_index_price (×4)
😱 nse_india_vix
📰 nse_news_sentiment
💵 nse_fii_net_crore
💵 nse_dii_net_crore
⚙ nse_engine_health (×6)
Total: ~45 time series per push · All labelled with app="nse_autotrader", env="production"
Live metric preview
🔑 API keys for additional data sources
Twelve Data API key (free at twelvedata.com)
For SGX Nifty, Dow, S&P, USD/INR. Free plan: 800 calls/day.
Data source status
• Upstox (NSE live data): ✓ Connected
• Twelve Data (global): No key
• NSE India (FII/DII): Web scrape
• News sentiment: Claude web search
🧠 Adaptive signal weights — live learning state
Weights initialised from your trade history. Updates automatically after every closed trade.
✓ High-confidence setups (weight > 70%)
✗ Blocked setups (weight < 30%)
📚 Learned rules — auto-generated from paper trade analysis
Rules are automatically created when patterns repeat. They are applied as hard blocks before every trade — stronger than the weight system.
Agent activity log