gaurv007 commited on
Commit
e49d195
·
verified ·
1 Parent(s): e324610

Upload prompts/templates/vol_shock.j2 with huggingface_hub

Browse files
Files changed (1) hide show
  1. prompts/templates/vol_shock.j2 +3 -0
prompts/templates/vol_shock.j2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {# Volatility-Scaled Shock #}
2
+ {%- set c = bp.components[0] -%}
3
+ group_zscore(zscore(ts_delta({{ c.fields[0] }}, {{ c.horizon_days }}) / (ts_std({{ c.fields[0] }}, {{ c.horizon_days * 4 }}) + 0.001)), {{ bp.neutralization.value }})