Documentation Index
Fetch the complete documentation index at: https://docs.novosky.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, you need:- Python 3.11+ on a Linux machine (Ubuntu 24.04 recommended)
- MetaTrader 5 REST API running on a VM — see Deployment
- Hugging Face Hub account with an access token — free at huggingface.co
- Broker account — RoboForex (cent or standard) recommended; any MT5 broker with a BTC/USD pair works at 1:500 leverage
- Telegram bot (optional but strongly recommended for trade alerts)
- Supabase project (optional — for trade log sync and the web dashboard)
Option A — Guided wizard (recommended)
The onboarding wizard handles everything:.env setup, model pull, risk questionnaire, and first optimization run.
Run the onboarding wizard
- Ask for your MT5 API URL, API token, HF token, and Telegram credentials
- Write your
.envfile - Pull the latest trained models from Hugging Face Hub
- Ask 6 questions to recommend a risk profile (1–5)
- Run
weekly_optimize.pywith your chosen profile (~2.5 h on a 2-core VPS)
500 with your actual starting account balance in USD (or USC for cent accounts).Dry-run to verify connectivity
[MT5] Connected— MT5 API reachable[MODEL] Signal: HOLD/BUY/SELL conf=0.xx— models loaded and inferring- No
ERRORlines
Option C — Go binary (commercial distribution)
The compiled Go binary ships as a single executable with all ML models embedded. No Python, no Hugging Face Hub, nomodels/ directory.
What you receive: novosky_go + config.json + .env
See Go binary for the full build, license, and distribution reference.
Option B — Skip optimization, trade now
If you want to start trading immediately with the current pre-trained models:.env reference
Create.env from the example file:
| Variable | Required | Description |
|---|---|---|
API_URL | Yes | MT5 REST API base URL, e.g. http://1.2.3.4:6542 |
API_TOKEN | Yes | Bearer token for the MT5 API |
HF_TOKEN | Yes | Hugging Face Hub access token |
HF_REPO_ID | Yes | Your HF model repo, e.g. yourname/novosky-models |
TELEGRAM_BOT_TOKEN | No | Telegram bot token for trade alerts |
TELEGRAM_CHAT_ID | No | Your Telegram chat or group ID |
TELEGRAM_USER_ID | No | Your numeric Telegram user ID (from @userinfobot) — required when using a group chat to restrict commands to you only |
SUPABASE_URL | No | Supabase project URL |
SUPABASE_KEY | No | Supabase service role key |
What happens after the first optimize
Afterweekly_optimize.py completes successfully:
config.jsonis updated with the best-found parameters for your risk profile- All 4 models are retrained and pushed to your HF Hub repo
- A Telegram message confirms the new score and key metrics
- The cron job is installed to repeat every Sunday at 2 am UTC