TradeEntry — Project Scope
TradeEntry is a full-stack NSE trading platform built in five stages of increasing complexity.
Stage 1 — Options Chain Analysis
An interactive options chain viewer that consumes live streaming data (API to be provided) instead of scraping the NSE website. The core Python logic is carried over from existing code with data-source replaced.
Phases:
- Live viewer — real-time options chain display driven by the streaming API.
- Simulation mode — replay historical data (sample dataset to be provided) so strategies can be tested offline without a live feed.
Reference: Options Chain Demo
Stage 2 — Performance Analysis of Trading Systems
A backtesting metrics engine. Input is a CSV or HTML trade log; output is a structured performance report.
Metrics generated
| Category | Metric |
|---|---|
| Return | Absolute return, annualised return |
| Risk-adjusted | Sharpe ratio |
| Drawdown | Maximum drawdown |
| Trade quality | Hit rate, profit factor |
Cost modelling
- Brokerage
- Taxes (STT, GST, stamp duty)
- Slippage
Money management
- Equity curve trading
- Position sizing models
Reference: Backtesting Metrics Demo
Stage 3 — Portfolio Manager
Manages equity, futures, and options positions. Starts as a standalone tool (not broker-linked); integrates with broker accounts once Stage 4 is complete.
Two portfolio types
| Type | Reference |
|---|---|
| Equity Portfolio | Moneycontrol Wealth Management |
| F&O Portfolio | Opstra Strategy Builder Portfolio |
Note: Final requirements may differ from the reference links above.
Stage 4 — Broker API Integration
Connects trading strategies to live broker accounts for automated order execution.
Initial broker support (4 brokers, extensible)
- Order execution
- Trade confirmation
- Margin management
Stage 5 — Backtesting Engine
A full strategy backtesting framework supporting three strategy types:
| Type | Description |
|---|---|
| Time-based | Entry/exit at fixed times |
| Indicator-based | Entry/exit driven by technical indicators |
| Custom Python | Plug in arbitrary Python code directly |
References:
Other Essentials
| Area | Details |
|---|---|
| User management | Per-user settings and module permissions |
| Project configuration | Global config panel |
| Alerts | Critical alerts via Telegram and WhatsApp |
| Reporting | Performance reports delivered by email |
| Deployment | Web server installation and deployment guide |