Upload prompts/templates/value_quality.j2 with huggingface_hub
Browse files
prompts/templates/value_quality.j2
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{# Value-Quality Blend Archetype #}
|
| 2 |
+
{# Combines value and quality signals with group neutralization #}
|
| 3 |
+
{%- set parts = [] -%}
|
| 4 |
+
{%- for c in bp.components -%}
|
| 5 |
+
{%- set _ = parts.append(c.weight|string ~ " * group_zscore(rank(ts_mean(" ~ c.fields[0] ~ ", " ~ c.horizon_days ~ ")), " ~ bp.neutralization.value ~ ")") -%}
|
| 6 |
+
{%- endfor -%}
|
| 7 |
+
ts_decay_linear({{ parts | join(" + ") }}, {{ bp.decay }})
|