Files
MoFin/deploy/profile-scripts/regime_perf_daily.sh
T

12 lines
575 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# regime_perf_daily.sh — 策略温区表现每日更新(A股+港股双市场)
# 2026-08-15 问题2:策略数据每日自动更新。hermes cron 只接受单脚本,双市场用本 wrapper。
# 顺序:period_rollup17:05 派生周期行)→ 本脚本(17:15 温区表现)
set -u
cd /home/hmo/MoFin/deploy/profile-scripts
echo "[regime_perf_daily] $(date '+%F %T') market=a"
python3 regime_perf.py --market=a
echo "[regime_perf_daily] $(date '+%F %T') market=hk"
python3 regime_perf.py --market=hk
echo "[regime_perf_daily] $(date '+%F %T') done"