"""Auto-generated formula stub for PROFIT_GIVEBACK_RATCHET_FACTOR_V1."""

FORMULA_ID = 'PROFIT_GIVEBACK_RATCHET_FACTOR_V1'
FORMULA_OWNER = 'quant_owner'
FORMULA_STATUS = 'active'
FORMULA_INPUT_FIELDS = ['prev_trail_stop', 'high_since_entry', 'atr20', 'market_regime', 'profit_pct']
FORMULA_OUTPUT_FIELDS = []

def execute(inputs: dict[str, object]) -> dict[str, object]:
    raise NotImplementedError('PROFIT_GIVEBACK_RATCHET_FACTOR_V1' + ' is a generated stub.')
