Regime gate: document TRADING_REGIME_GATE_P_MIN in both compose anchors

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
momentum devandClaude Opus 4.8 committed 2026-07-15 15:21:49 -05:00
1 parent 9082144d43
commit acdf0019c3
2 files changed
+8

No files matched your search

+4
View File
@@ -71,6 +71,10 @@ x-app: &app
# fail-open (unfit model / error never blocks). Needs regime_features populated
# (the scheduler builds them nightly). Set 0 to disable.
TRADING_REGIME_GATE_ENABLED: '1'
# Favorable threshold: block a session when P(profit) < this. 0.5 = code
# default (matches the backtest). Lower (e.g. 0.4) trades MORE days; raise to
# trade fewer, higher-confidence days. Optional — omit to use the 0.5 default.
TRADING_REGIME_GATE_P_MIN: '0.5'
TRADING_EXIT_TRAIL_AFTER_R: '1.0'
TRADING_EXIT_TRAIL_MODE: 'prior_low'
TRADING_EXIT_TRAIL_R_STEP: '0.25'
+4
View File
@@ -53,6 +53,10 @@ x-app-env: &app-env
# fail-open (unfit model / error never blocks). Needs regime_features populated
# (the scheduler builds them nightly). Set 0 to disable.
TRADING_REGIME_GATE_ENABLED: "1"
# Favorable threshold: block a session when P(profit) < this. 0.5 = code default
# (matches the backtest). Lower (e.g. 0.4) trades MORE days; raise for fewer,
# higher-confidence days. Optional — omit to use the 0.5 default.
TRADING_REGIME_GATE_P_MIN: "0.5"
services:
postgres: