feat: include ETF strategies in monitor and register V7 in bridge
- DEFAULT_MONITOR_STRATEGIES now includes ALL strategies (stock + ETF) instead of excluding ETF strategies. The cmd_morning/evening/auto already route ETF strategies to the correct data pipeline via strategy_universe() and strategy_data_market(). - Register trend_rider_v7, v7_vt24, v7_vt32 in bridge.py STRATEGY_META so they appear in the stock-agent frontend via /api/strategies. - Monitor now runs as a background daemon with logs written to logs/monitor.log (PYTHONUNBUFFERED=1, no tmux dependency). PID saved to logs/monitor.pid. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -231,10 +231,7 @@ MIXED_STRATEGY_EXTRA_TICKERS = {
|
||||
"trend_rider_v6_top10": sorted(set(ETF_UNIVERSE)),
|
||||
}
|
||||
|
||||
DEFAULT_MONITOR_STRATEGIES = [
|
||||
name for name in STRATEGY_REGISTRY
|
||||
if name not in ETF_STRATEGY_UNIVERSES
|
||||
]
|
||||
DEFAULT_MONITOR_STRATEGIES = list(STRATEGY_REGISTRY.keys())
|
||||
|
||||
|
||||
def strategy_universe(market: str, strategy_name: str) -> tuple[list[str], str]:
|
||||
|
||||
Reference in New Issue
Block a user