DOCS // DOCUMENTATION

Technical Documentation

Guides and references for using your custom Lightning Bulls systems.

GETTING_STARTED

Quick Start Guide

After receiving your custom system, follow these steps to get started:

  1. Install Python 3.10+ and required dependencies.
  2. Configure your broker API credentials in config.py.
  3. Run the initial connection test: python test_connection.py
  4. Start the dashboard: python dashboard_server.py
  5. Access the dashboard at http://localhost:5000
CONFIGURATION

Configuration Reference

Key configuration options in your system:

# config.py

# Broker Configuration
BROKER = "zerodha"
API_KEY = "your_api_key"
API_SECRET = "your_api_secret"

# Risk Management
MAX_RISK_PER_TRADE = 1.0  # Percentage
MAX_DAILY_LOSS = 5.0      # Percentage
MAX_POSITIONS = 5

# Strategy Settings
STRATEGY_ID = "your_strategy_id"
LOT_SIZE = 25  # NIFTY
SLIPPAGE = 0.5  # Points
WEBHOOK

Webhook Integration

Send TradingView alerts to your system using this format:

{
  "action": "BUY",           // BUY or SELL
  "symbol": "NIFTY24FEB22000CE",
  "quantity": 50,            // Optional, uses lot size if not set
  "sl": 50,                  // Stop loss in points
  "target": 100,             // Target in points
  "strategy_id": "YOUR_ID"   // Must match config
}
SUPPORT

Need Help?

Your Lightning Bulls system includes lifetime support. If you encounter any issues: