Personal project · Not open to the public

My personal AI
trading system for India

Pristy is a reinforcement learning bot I built to autonomously trade Indian equities via Angel One. It runs 24/7 on the cloud, manages its own risk, and reports to a live dashboard.

Open Dashboard How it works
pristy.onrender.com · paper mode
Portfolio Value
₹1,14,756
Sharpe Ratio
1.42
Win Rate
67%
Today P&L
+₹622
0.00
Avg Sharpe (paper)
0
Symbols tracked
0+
Indicators computed
0+
Lines of Python
WHAT IT DOES

Everything in one system

Reinforcement Learning Agent

PPO-trained agent that learns from NSE market microstructure, continuously improving its strategy across the watchlist.

Built-in Risk Controls

Per-trade stop loss, max position limits, and a daily loss circuit-breaker — so I never blow up overnight.

Live Analytics Dashboard

Equity curves, Sharpe tracking, sector heatmaps, and trade logs updating in real time as the bot trades.

Indian Market Native

Built for NSE/BSE via Angel One SmartAPI. Market hours 09:15–15:30 IST. Nifty, Bank Nifty, and key F&O stocks.

Multi-indicator Signal Engine

RSI, EMA stack, VWAP, ADX, Supertrend — computed each tick and fed directly to the RL agent for fast decisions.

Paper → Live in One Env Var

Run indefinitely in paper mode with full analytics, then flip TRADING_MODE=live when the Sharpe is satisfactory.

TECH STACK

Built with

Next.js 16
Dashboard UI
Python + PPO
RL Agent (stable-baselines3)
Angel One API
Order execution
FastAPI
Bot ↔ Dashboard bridge
Vercel + Render
Cloud deployment
Gemini AI
News sentiment fallback
ARCHITECTURE

How it all fits together

📡
Angel One SmartAPI
Live tick data → OHLCV feed
Indicator Engine
RSI · EMA · VWAP · ADX · Supertrend
🧠
RL Agent (PPO)
BUY / HOLD / SELL decision every tick
🛡️
Risk Manager
Stop loss · Position limits · Circuit breaker
📋
Order Manager
Executes paper / live orders via broker
📊
FastAPI + Dashboard
Streams metrics to Next.js in real time

Ready to trade?

Open the dashboard to check live positions, review signals, and control the bot.

Open Dashboard