CLI Automation (Quick Start)

Manage your entire trading infrastructure including PostgreSQL, Redis, and the Python FastAPI server using optimized automation scripts:

# To start all services
./start.sh
# To stop everything safely
./stop.sh
Access Terminal: http://localhost:8111
Safety Protocol

Always run in PAPER mode first when deploying new strategy tweaks.

Strict Max 1 Trade Per Day limit enforced in the controller.

Ensure Telegram integration is active for remote signal confirmation.

1. Intelligence Dashboard

The command center provides real-time execution monitoring. Switch modes between PAPER and LIVE instantly. The status indicator (🟢/🔴) shows the bot's health across Web, Upstox, and Telegram.

2. Interactive Execution

Signals require manual confirmation. 1 Lot = 50 Shares (Nifty 50). When a signal triggers, enter your quantity and confirm via the Execute button or your Telegram bot.

3. Options Sentiment

The Pulse analyzes PCR (Put-Call Ratio). PCR > 1.1 indicates Bullish writing, while PCR < 0.9 warns of Bearish pressure. Use the GTT form for rapid SL-M order placement.

4. Discovery Hub (Screener)

Scans Nifty 500 for institutional-grade swing setups. Identifies Golden Crosses, Weekly Volume Surges, and RSI Velocity to find high-conviction breakout opportunities.

5. System Observability

Monitor backend runtime health directly from the UI. The Error Logs dashboard streams live system_events.jsonl filtering out routine noise to highlight critical application warnings. The Code Archives acts as a GUI timeline of memory/progress.md, visualizing the system's evolutionary bug fixes and feature additions.

6. Memory-First Protocol (Mandatory Workflow)

Read the /memory folder first to understand the project state and past lessons. Follow the rules in memory/rules.md. After every task, update tasks.md, progress.md, and log any mistakes or new learnings in lessons.md. You are responsible for keeping this memory synchronized.

This protocol guarantees architectural consistency, zero context drift, and prevents regression in critical features across all ecosystem platforms.