How dphillipov/project-lion works
Project type and purpose
• This is a Python-based automated trading system composed of several cooperating microservices.
• Its goal is to collect market data, calculate indicators, generate trading signals/strategies, execute orders on an exchange, and track wallet balances.
File structure
• Top-level directories:
• config – central configuration for DB tables, exchanges, message queues
• data_producer – market data ingestion and historical data logging
• indicators – transforms raw data into trading signals
• services – four microservices (data producer, strategy generator, trader, wallet)
• modules – pluggable strategy implementations (f22, mig29) and exchange clients
• strategy – spearhead strategy entrypoint and logging
• wallet – balance calculation and consumption
• Dockerfiles and docker-compose.yml define containerization of each service.
• requirements.txt lists Python dependencies; .gitlab-ci.yml orchestrates CI/CD.
Key insights from README
• Clear labels for each service, data store, and external exchange
Detail
• Config module consumption by each service.
• Docker-compose layer to indicate how containers are networked.