# Professional-Grade Trading Application

## Overview

This is a private, professional-grade desktop trading application for personal use. It is built with Python and PySide6 for the UI.

## Features

- Intraday F&O trading (Index + Stocks)
- Swing / compounding equity trading
- Strict risk management
- Strategy-based execution
- Real-time monitoring
- Manual override & safety controls

## Tech Stack

- **Language:** Python 3.10+
- **UI Framework:** PySide6 (Qt)
- **Charts:** pyqtgraph
- **Database:** SQLite
- **Async:** asyncio + threading
- **Broker:** FYERS API (v3)

## Setup

1.  **Install dependencies:**
    ```bash
    pip install -r requirements.txt
    ```

2.  **Configure credentials:**
    Copy `config/credentials.env.example` to `config/credentials.env` and fill in your FYERS API credentials.

3.  **Run the application:**
    ```bash
    python algo_trader/app.py
    ```

## ⚠️ Warnings ⚠️

- **This is not a toy.** This is a trading application that can execute real trades with real money.
- **Use at your own risk.** The author is not responsible for any financial losses.
- **Paper trade first.** Always test your strategies in a paper trading environment before going live.
- **No auto-start.** The application will not start automatically. You must manually start it.
- **No unattended trading.** Do not leave the application running unattended.
