Dashboard out-dir default → /var/www/trade/gold-dashboard (live portal docroot)

Claude-Session: https://claude.ai/code/session_01Wc9ZoqKLYBT2QJcpRWKoGm
This commit is contained in:
Harwinder Sekhon
2026-08-03 17:14:08 -04:00
parent 4e654b5edb
commit 0445a20a76
3 changed files with 17 additions and 11 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ duplicate-fetch dedup (providers have no in-flight dedup; Oanda has no
throttle). Keep it sequential.
Run: python dashboard_publisher.py [--once] [--out DIR]
Out dir precedence: --out → DASHBOARD_OUT_DIR env → /var/www/html/gold-dashboard
Out dir precedence: --out → DASHBOARD_OUT_DIR env → /var/www/trade/gold-dashboard
"""
import argparse
@@ -71,7 +71,7 @@ TF_INTERVAL_MINUTES = {
Timeframe.M5: 5, Timeframe.M15: 15, Timeframe.H1: 60, Timeframe.H4: 240,
}
DEFAULT_OUT_DIR = "/var/www/html/gold-dashboard"
DEFAULT_OUT_DIR = "/var/www/trade/gold-dashboard"
SCAN_BUFFER_SECONDS = 10
SNAPSHOT_FILE = "snapshot.json"
NEWS_FILE = "news.json"