This repository contains two main projects for stock market data and trading:
A production-ready, enterprise-grade system for collecting and managing stock market data from multiple sources.
# Docker deployment
docker-compose up -d
# Check health
curl http://localhost:8000/health
# Access monitoring
# Grafana: http://localhost:3000
# Prometheus: http://localhost:9090- Multi-source data collection (Alpha Vantage, yfinance)
- PostgreSQL-backed state persistence
- Prometheus metrics & Grafana dashboards
- Automated backups and recovery
- Health check endpoints
- Production-ready containerization
- Production Deployment Guide - Complete deployment instructions
- Production Readiness Checklist - Pre-launch verification
- Production README - Features and operations guide
GRID/
βββ continuous_data_collection/ # Main data collection package
β βββ api/ # Health check & metrics API
β βββ core/ # Core collection logic
β βββ collectors/ # Data source collectors
β βββ storage/ # Data persistence layers
β βββ monitoring/ # System monitoring
β βββ utils/ # Utility functions
βββ config/ # Configuration files
βββ monitoring/ # Prometheus & Grafana configs
βββ scripts/ # Deployment & maintenance scripts
βββ tests/ # Test suite
βββ data/ # Data storage (gitignored)
βββ logs/ # Log files (gitignored)
βββ Dockerfile # Container image
βββ docker-compose.yml # Multi-service orchestration
βββ requirements.txt # Python dependencies
An AI-powered automated trading system with advanced features for stock market trading.
All trading bot code is in: projects/TradingBOT/
- AI/ML-based trading strategies
- Multi-model ensemble approach
- Real-time market data integration
- Risk management systems
- Backtesting framework
- Performance monitoring
cd projects/TradingBOT
# See TradingBOT/README.md for more infoprojects/TradingBOT/
βββ src/ # Source code
β βββ ai/ # AI models & strategies
β βββ data_collection/ # Market data collection
β βββ trading/ # Trading execution
β βββ risk_management/ # Risk controls
β βββ monitoring/ # System monitoring
βββ tests/ # Test suite
βββ config/ # Configuration
βββ models_archive/ # Trained AI models
βββ artifacts/ # Training artifacts
βββ README.md # Trading bot documentation
Purpose: Production stock data collection infrastructure
Use Cases:
- Collecting historical stock data
- Building data pipelines
- Maintaining clean, quality stock data
- Providing data to downstream systems
Purpose: AI-powered trading system
Use Cases:
- Automated trading strategies
- Portfolio management
- Risk management
- Performance analysis
# 1. Configure environment
cp .env.example .env
nano .env # Add API keys
# 2. Start services
docker-compose up -d
# 3. Monitor collection
docker-compose logs -f collector# Navigate to trading bot
cd projects/TradingBOT
# Follow trading bot specific README
cat README.md- Python 3.11+
- Docker & Docker Compose
- PostgreSQL 15+
- 8GB+ RAM, 4+ CPU cores
- 100GB+ storage
- Python 3.10+
- GPU recommended for AI models
- Real-time market data access
- See
projects/TradingBOT/README.mdfor details
# Install dependencies
pip install -r requirements.txt
# Run tests
pytest tests/
# Run locally
python -m continuous_data_collection.maincd projects/TradingBOT
# See TradingBOT README for dev setup- Health: http://localhost:8000/health
- Metrics: http://localhost:8000/metrics
- Grafana: http://localhost:3000
- Prometheus: http://localhost:9090
- See
projects/TradingBOT/for monitoring setup
- Choose the appropriate project:
- Data collection: Root level
- Trading:
projects/TradingBOT/
- Create a feature branch
- Make changes with tests
- Submit pull request
MIT License - See LICENSE file for details
- Issues: GitHub Issues
- Documentation: See README files in each project
- Email: support@yourcompany.com
Last Updated: 2025-10-29 Version: 2.0.0 (Reorganized Structure)