Welcome to the Smart API Trading Bot!
A powerful, real-time trading assistant that leverages machine learning, deep learning, and advanced analytics to make high-accuracy trading decisions.
Built for speed, flexibility, and ease of use. π
- π High Accuracy Trading: Combines ML, DL, and DeepSeek models for >95% accuracy.
- β±οΈ Real-time Analysis: Processes live market data for instant decisions.
- π§ Option Chain Analysis: Evaluates option chains to gauge market sentiment.
- π° News Sentiment: Integrates news analysis for smarter trades.
- π Technical Indicators: Uses advanced technical analysis for predictions.
- πΈοΈ Web Interface: User-friendly dashboard for monitoring and control.
- π Secure API Integration: Works with Angel One Smart API (and more).
- Backend: Python, Flask
- Machine Learning: Custom ML & Deep Learning models (LSTM, DeepSeek)
- API Integration: Angel One Smart API, News API
- Frontend: HTML, JavaScript
git clone https://github.com/your-username/smart-api-trading-bot.git
cd smart-api-trading-botpip install -r requirements.txtCreate a .env file in the root directory:
API_KEY=your_api_key
SECRET_KEY=your_secret_key
CLIENT_CODE=your_client_code
TOTP=your_totp
TOTP_SECRET=your_totp_secret
GROQ_API_KEY=your_groq_api_key
NEWS_API_KEY=your_news_api_key
β οΈ Never share your.envfile or secrets!
python app.pyThe web interface will be available at http://localhost:5000.
- Status Panel: View bot status and API connection.
- Control Buttons: Test connection, start/stop bot.
- Stock Analysis: Enter a stock symbol for instant analysis.
- Watchlist: See real-time analysis results.
GET /api/statusβ Get bot statusPOST /api/test_connectionβ Test API connectionPOST /api/analyzeβ Analyze a stock symbolPOST /api/start_tradingβ Start the trading botPOST /api/stop_tradingβ Stop the trading bot
Contributions are welcome!
- Fork the repo
- Create a new branch (
git checkout -b feature/your-feature) - Commit your changes
- Push to your branch
- Open a Pull Request
- Author: Prince Kachhwaha
- GitHub: Prince8085
Made with β€οΈ for traders and developers.