Skip to main content

sapphire-dashboard

Flask trading dashboard at sapphirealpha.xyz — PnL, positions, system status

Quellinformationen

Repository
arigatoexpress/Sapphire
Letzte Quellaktivität
29. Juli 2026 um 15:50
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
76 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
sapphire-dashboard
description
Flask trading dashboard at sapphirealpha.xyz — PnL, positions, system status
type
service
runtime
python
deploy_target
rari1
dependencies
["sapphire-core"]
entry_point
app.py
test_command
pytest tests/
# services/dashboard Flask web dashboard at sapphirealpha.xyz. Displays live PnL, open positions, win rate, system health, and recent events from the event bus. ## Routes - `/` — Dashboard home (PnL summary, positions) - `/events` — Event stream (tag-filtered) - `/health` — Service health check - `/api/pnl` — PnL JSON (for Telegram bot queries) ## Security **CRITICAL: Auth is required.** Dashboard is currently unprotected. Use `app_with_auth.py` variant or set `ENABLE_AUTH=true` + `SESSION_SECRET`. Public access: `dashboard.sapphirealpha.xyz` via Cloudflare Tunnel → rari1:8080. ## Deploy (on-prem — already running on rari1:8080) ```bash # Restart with auth enabled: ssh rari@100.x.x.x sudo systemctl restart sapphire-dashboard ``` ## Event Integration Dashboard polls `recent_events(tags=["type:trading"], limit=100)` every 30s for live feed.
Auf GitHub ansehen