After receiving your custom system, follow these steps to get started:
config.py.
python test_connection.pypython dashboard_server.py
http://localhost:5000Key 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
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
}
Your Lightning Bulls system includes lifetime support. If you encounter any issues:
/logs directory.