Skip to main content

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:

  1. Live viewer — real-time options chain display driven by the streaming API.
  2. 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

CategoryMetric
ReturnAbsolute return, annualised return
Risk-adjustedSharpe ratio
DrawdownMaximum drawdown
Trade qualityHit 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

TypeReference
Equity PortfolioMoneycontrol Wealth Management
F&O PortfolioOpstra 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:

TypeDescription
Time-basedEntry/exit at fixed times
Indicator-basedEntry/exit driven by technical indicators
Custom PythonPlug in arbitrary Python code directly

References:


Other Essentials

AreaDetails
User managementPer-user settings and module permissions
Project configurationGlobal config panel
AlertsCritical alerts via Telegram and WhatsApp
ReportingPerformance reports delivered by email
DeploymentWeb server installation and deployment guide