feat(quant): implement Plan #72 pre-market-open daily brief & dual-calendar VPS cadence
This commit is contained in:
1 parent
3945e3648a
commit
d4b7502501
8 files changed
+165
-16
No files matched your search
@@ -69,6 +69,24 @@ for arg in "$@"; do
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ "${WINDOW_MODE}" == "auto" ]]; then
|
||||
UTC_HOUR="$(date -u +%H)"
|
||||
case "${UTC_HOUR}" in
|
||||
13|14|15)
|
||||
WINDOW_MODE="us-pre-market-open"
|
||||
;;
|
||||
21|22|23)
|
||||
WINDOW_MODE="us-closing-bell"
|
||||
;;
|
||||
00|01|02)
|
||||
WINDOW_MODE="utc-rollover"
|
||||
;;
|
||||
*)
|
||||
WINDOW_MODE="us-closing-bell"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
LOCK_FILE="${HYPERSTITION_HARVEST_LOCK:-/tmp/hyperstition-vps-harvest.lock}"
|
||||
if [[ -n "$(type -P flock || true)" ]]; then
|
||||
exec 9>"${LOCK_FILE}"
|
||||
@@ -102,7 +120,7 @@ if [[ "${PUSH_ONLY}" -eq 0 ]]; then
|
||||
fi
|
||||
fi
|
||||
run_checked "quant.timeseries" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.timeseries
|
||||
run_checked "hs-daily-brief" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.daily_brief
|
||||
run_checked "hs-daily-brief" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.daily_brief --window "${WINDOW_MODE}"
|
||||
run_checked "build_encyclopedia_knowledge_graph.py" "${PYTHON_BIN}" "${REPOS_ROOT}/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py" --verify-only
|
||||
|
||||
echo "[2/5] Running Stage 3 transactional verification gates (hs-doctor, ReadOnlyIsolationGuard, test_core_suite)..."
|
||||
|
||||
Reference in new issue
Block a user