Griffin Gold is an AI trading-intelligence platform for gold (XAUUSD). It collects 60+ live market signals every hour, runs them through a weighted four-model ensemble, and delivers multi-horizon predictions, trading signals, and an AI trade advisor — right inside a Telegram bot and its web mini-app. It can also route trades to a broker over MetaApi (MT4/MT5) and track its own accuracy in the open.
Every prediction and signal is a Telegram command. A /signal looks like this:
📈 Trading Signal (24H)
🟢 BUY
💰 Entry: $2,419
🎯 Target: $2,447
🛑 Stop-Loss: $2,402
📊 Confidence: 71%
⚠️ Risk: ████████░░ (8/10)
💡 Real yields easing, ETF inflows turning positive,
COT longs building into the London/NY overlap.
The full command surface:
| Command | What it does |
|---|---|
/predict | Latest 1h / 4h / 24h price forecasts with confidence |
/signal | Trading signal — entry, target, stop-loss, risk rating |
/advisor | AI trade advisor: entry detection, sizing, trade management |
/news | Real-time gold & macro news with sentiment scoring |
/cot · /macro · /sessions | COT positioning, macro dashboard, market-session tracker |
/accuracy | Self-tracked prediction record, broken down by timeframe |
/connect · /trade · /positions · /close | Broker link and trade execution via MetaApi |
/alert · /game · /referral · /subscribe | Price alerts, prediction game, referrals, Premium |
One backend feeds three surfaces:
aiogram) — predictions, signals, advisor, alerts, and the prediction game in chat.State lives in PostgreSQL (SQLite for local dev) with Redis for caching, and the whole stack is white-label ready — swap branding, colors, and broker links per deployment without touching code.
/accuracy reports the real hit rate per timeframe — wins and misses.
1. Configure. Copy the example env and fill in what you have:
cp .env.example .env
Minimum to start the bot: TELEGRAM_BOT_TOKEN. Add GOLDAPI_KEY and FRED_API_KEY for live gold price and macro data; the rest (Alpha Vantage, Reddit, MetaApi) are optional and degrade gracefully.
2. Run the whole stack — backend, web mini-app, and Redis:
docker compose up --build
http://localhost:8000 (/health, /docs)http://localhost:30003. Or run the backend directly for development:
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
Then open Telegram, /start your bot, and send /predict. New users get a 7-day Premium trial; the backend deploys to Railway from railway.json with a PostgreSQL plugin.
GOLDAPI_KEY / FRED_API_KEY, collectors fall back to secondary sources or skip signals, and untrained models run in heuristic mode. Train the ensemble (backend/ml/) before relying on model-driven output.BROKER_ENABLED=true and a MetaApi token are set. Start with the demo adapter.32 commits
Python
62.0%
JavaScript
37.5%
Griffin Gold is an AI trading-intelligence platform for gold (XAUUSD). It collects 60+ live market signals every hour, runs them through a weighted four-model ensemble, and delivers multi-horizon predictions, trading signals, and an AI trade advisor — right inside a Telegram bot and its web mini-app. It can also route trades to a broker over MetaApi (MT4/MT5) and track its own accuracy in the open.
Every prediction and signal is a Telegram command. A /signal looks like this:
📈 Trading Signal (24H)
🟢 BUY
💰 Entry: $2,419
🎯 Target: $2,447
🛑 Stop-Loss: $2,402
📊 Confidence: 71%
⚠️ Risk: ████████░░ (8/10)
💡 Real yields easing, ETF inflows turning positive,
COT longs building into the London/NY overlap.
The full command surface:
| Command | What it does |
|---|---|
/predict | Latest 1h / 4h / 24h price forecasts with confidence |
/signal | Trading signal — entry, target, stop-loss, risk rating |
/advisor | AI trade advisor: entry detection, sizing, trade management |
/news | Real-time gold & macro news with sentiment scoring |
/cot · /macro · /sessions | COT positioning, macro dashboard, market-session tracker |
/accuracy | Self-tracked prediction record, broken down by timeframe |
/connect · /trade · /positions · /close | Broker link and trade execution via MetaApi |
/alert · /game · /referral · /subscribe | Price alerts, prediction game, referrals, Premium |
One backend feeds three surfaces:
aiogram) — predictions, signals, advisor, alerts, and the prediction game in chat.State lives in PostgreSQL (SQLite for local dev) with Redis for caching, and the whole stack is white-label ready — swap branding, colors, and broker links per deployment without touching code.
/accuracy reports the real hit rate per timeframe — wins and misses.
1. Configure. Copy the example env and fill in what you have:
cp .env.example .env
Minimum to start the bot: TELEGRAM_BOT_TOKEN. Add GOLDAPI_KEY and FRED_API_KEY for live gold price and macro data; the rest (Alpha Vantage, Reddit, MetaApi) are optional and degrade gracefully.
2. Run the whole stack — backend, web mini-app, and Redis:
docker compose up --build
http://localhost:8000 (/health, /docs)http://localhost:30003. Or run the backend directly for development:
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
Then open Telegram, /start your bot, and send /predict. New users get a 7-day Premium trial; the backend deploys to Railway from railway.json with a PostgreSQL plugin.
GOLDAPI_KEY / FRED_API_KEY, collectors fall back to secondary sources or skip signals, and untrained models run in heuristic mode. Train the ensemble (backend/ml/) before relying on model-driven output.BROKER_ENABLED=true and a MetaApi token are set. Start with the demo adapter.32 commits
Python
62.0%
JavaScript
37.5%