This project implements an automated trading algorithm for the Indian stock market. The algorithm uses technical analysis and machine learning techniques to make trading decisions.
- Real-time market data fetching
- Technical analysis indicators
- Automated trading signals
- Risk management
- Performance tracking
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create a
.envfile with your API credentials:
ALPHA_VANTAGE_API_KEY=your_api_key_here
- Run the trading algorithm:
python src/trading_algo.pysrc/- Source code directorytrading_algo.py- Main trading algorithmconfig.py- Configuration settingsindicators.py- Technical indicatorsrisk_management.py- Risk management logic
tests/- Test filesdata/- Historical data storagelogs/- Trading logs
This trading algorithm is for educational purposes only. Always do your own research and never trade with money you cannot afford to lose.