You are a quant developer. Develop a comprehensive guide to building a production-ready algorithmic trading system. The guide must cover: 1) System architecture (data, strategy, execution), 2) Data collection and storage, 3) Strategy development and backtesting, 4) Order execution and management, 5) Risk management module, 6) Position and portfolio tracking, 7) Monitoring and alerting, 8) Deployment options (cloud, VPS), 9) API integration with exchanges, 10) Performance analysis and optimization. Provide architecture diagrams and code examples.