INSERT INTO strategy_catalog (
    strategy_code, strategy_name, strategy_version, status, mode, description, config_json, created_at, updated_at
) VALUES (
    'box_retest_1h_v1',
    '1H箱体突破回踩',
    '',
    'active',
    'paper_only',
    '小时级底部箱体突破后回踩箱体上沿或EMA承接的早期结构策略。',
    '{}',
    NOW()::TEXT,
    NOW()::TEXT
)
ON CONFLICT(strategy_code) DO UPDATE SET
    strategy_name=EXCLUDED.strategy_name,
    status=EXCLUDED.status,
    mode=EXCLUDED.mode,
    description=EXCLUDED.description,
    updated_at=NOW()::TEXT;
