Streamlit + VectorBT dashboard, Parquet harvester with nightly cron, Authentik header auth, SQLite strategy persistence, and Bugsink telemetry. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
404 B
Bash
16 lines
404 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
echo "Quant harvester starting (TZ=${TZ:-UTC})"
|
|
|
|
if [ ! -f "/data/parquet/.seed_complete" ]; then
|
|
echo "Running initial historical seed..."
|
|
python /app/sync.py --seed
|
|
touch /data/parquet/.seed_complete
|
|
echo "Seed complete."
|
|
else
|
|
echo "Seed marker found; skipping full history download."
|
|
fi
|
|
|
|
echo "Launching cron (weekdays 17:00 America/New_York)..."
|
|
exec cron -f
|