You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python main.py
# API available at: http://localhost:8000# Swagger docs: http://localhost:8000/docs
4. Install MT5 EA
Copy mql5/Experts/EA_BotTrading.mq5 to your MT5 Experts folder
Copy all .mqh files from mql5/Include/ to MT5 Include folder
Open MetaEditor → Compile EA_BotTrading.mq5
Attach EA to chart (any symbol, H1 or H4 recommended)
Enable "Allow algorithmic trading" and "Allow DLL imports"
5. Start MT5 Bridge (Windows only)
# On the Windows machine running MetaTrader 5:
python python/core/mt5_bridge.py
6. Start Telegram Bot
# Add to main.py startup or run standalone:fromtelegram.botimportbuild_botapp=build_bot(token=settings.TELEGRAM_BOT_TOKEN, admin_ids=settings.TELEGRAM_ADMIN_IDS)
app.run_polling()
🐳 Docker Deployment
cd docker
# Development (SQLite):
docker compose up -d api
# Production (PostgreSQL + Nginx):
docker compose --profile postgres --profile prod up -d
# View logs:
docker compose logs -f api