Python Day-Trading Automation Script

Замовник: AI | Опубліковано: 04.10.2025

I need a clean, well-commented Python program that can handle intraday trading on both NSE and BSE. The core requirements are: • Generate real-time buy and sell signals based on my day-trading rules (I’ll share the exact logic after we start). • Place orders automatically through my broker’s API and confirm execution. • Enforce risk-management controls—configurable stop-loss, trailing stop, position sizing, and daily loss cap. The code should run on Python 3.x, rely only on widely supported libraries (pandas, numpy, websocket-client, ta-lib, etc.), and be organized so that strategy logic, broker connectivity, and risk controls sit in separate, easily editable modules. A short README explaining setup, required keys, and how to tweak parameters is part of the hand-off, as is a sample back-test showing that the risk checks trigger correctly. If you have experience with Indian market APIs (e.g., Kite Connect, AngelOne SmartAPI, or similar) and can demonstrate previous automated trading work, let’s move forward.