Lean All-in-One
БесплатноНе проверенContainerized QuantConnect Lean algorithmic trading engine with GPU support, backtesting, and multi-language trading strategy development.
Описание
Containerized QuantConnect Lean algorithmic trading engine with GPU support, backtesting, and multi-language trading strategy development.
README
🚀 Lean Engine All-in-One
All-in-One Docker image for QuantConnect Lean algorithmic trading engine with GPU support, modern Web UI, REST API, and MCP integration.
✨ Features
- 🎯 GPU Auto-Selection - Automatically selects GPU with lowest memory usage
- 🌐 Modern Web UI - Responsive design with dark mode and i18n (EN/ZH/JA)
- 🔌 REST API - FastAPI with Swagger docs at
/docs - 🤖 MCP Server - Model Context Protocol for AI integration
- 📊 Real-time Monitoring - GPU status and backtest progress via WebSocket
- 🐳 All-in-One - Single container with nginx, API, and MCP services
🚀 Quick Start
docker run -d --gpus all \
-p 8280:80 -p 8281:8000 -p 8282:8001 \
--name lean-engine \
neosun/lean:latest
Access:
- Web UI: http://localhost:8280
- API Docs: http://localhost:8281/docs
- Health: http://localhost:8281/health
📦 Installation
Docker Compose (Recommended)
services:
lean:
image: neosun/lean:latest
container_name: lean-engine
restart: unless-stopped
ports:
- "8280:80" # Web UI
- "8281:8000" # REST API
- "8282:8001" # MCP Server
volumes:
- ./data:/Lean/Data
- ./results:/Lean/Results
- ./algorithms:/Lean/Algorithms
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
docker compose up -d
⚙️ Configuration
| Environment Variable | Default | Description |
|---|---|---|
MODE |
all |
Service mode: ui, api, mcp, all |
GPU_AUTO_SELECT |
true |
Auto-select GPU with lowest memory |
API_HOST |
0.0.0.0 |
API bind address |
API_PORT |
8000 |
API port |
MCP_HOST |
0.0.0.0 |
MCP bind address |
MCP_PORT |
8001 |
MCP port |
🔌 API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/health |
GET | Health check |
/api/gpu/status |
GET | GPU status |
/api/gpu/select |
POST | Select GPU |
/api/algorithms |
GET | List algorithms |
/api/backtest |
POST | Run backtest |
/api/jobs |
GET | List jobs |
/api/results/{id} |
GET | Get results |
/ws |
WS | WebSocket for real-time updates |
🤖 MCP Tools
| Tool | Description |
|---|---|
gpu_status |
Get GPU information |
gpu_select |
Select specific GPU |
list_algorithms |
List available algorithms |
run_backtest |
Execute backtest |
get_results |
Retrieve backtest results |
📁 Project Structure
docker/
├── Dockerfile # Multi-stage build
├── docker-compose.yml # Compose configuration
├── nginx.conf # Reverse proxy config
├── supervisord.conf # Process manager
├── app/
│ ├── api_server.py # FastAPI REST API
│ ├── mcp_server.py # MCP Server
│ ├── gpu_manager.py # GPU auto-selection
│ └── static/
│ └── index.html # Web UI
└── .env.example # Environment template
🛠️ Tech Stack
- Base: QuantConnect Lean Engine
- Runtime: Python 3.10+, .NET 6
- API: FastAPI, Uvicorn
- GPU: NVIDIA CUDA, pynvml
- Frontend: Tailwind CSS, Alpine.js
- Process: Supervisord, Nginx
📝 License
Apache 2.0 - See LICENSE
⭐ Star History
📱 Follow Us

Установка Lean All-in-One
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/neosun100/lean-allinoneFAQ
Lean All-in-One MCP бесплатный?
Да, Lean All-in-One MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Lean All-in-One?
Нет, Lean All-in-One работает без API-ключей и переменных окружения.
Lean All-in-One — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Lean All-in-One в Claude Desktop, Claude Code или Cursor?
Открой Lean All-in-One на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Lean All-in-One with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
