Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
listlengths
2
2
completion
listlengths
1
1
formula
stringlengths
18
327
market
stringclasses
2 values
brief_mechanism
stringclasses
46 values
brief_window
int64
3
250
brief_inputs
stringclasses
12 values
brief_structure
stringclasses
11 values
brief_constraint
stringclasses
6 values
brief_risk
stringclasses
4 values
inputs_ok
bool
2 classes
structure_ok
bool
2 classes
horizon_ok
bool
2 classes
follows_brief
bool
2 classes
n_nodes
int64
3
73
lookback
int64
0
252
train_sharpe
float64
-16.58
1.96
train_turnover
float64
0
1.87
holdout_sharpe
float64
-25.84
5.21
⌀
holdout_return
float64
-1.15
1.14
holdout_turnover
float64
0
1.87
models
listlengths
1
4
n_runs
int64
1
26
n_samples
int64
1
510
source
stringclasses
1 value
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_delta(high, 105) - ts_mean(high, 105)) / ts_std(low, 105))</alpha>" } ]
rank(abs(ts_delta(high, 105) - ts_mean(high, 105)) / ts_std(low, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
13
105
-1.606
0.1413
-1.995
-0.3129
0.1253
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_delta(high, 105) - ts_mean(low, 105)) / ts_std(volume, 105))</alpha>" } ]
rank(abs(ts_delta(high, 105) - ts_mean(low, 105)) / ts_std(volume, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
13
105
-0.345
0.0217
3.142
0.5554
0.0136
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_delta(ts_mean(volume, 105), 3)) - ts_std(high, 105) / ts_mean(low, 105))</alpha>" } ]
rank(abs(ts_delta(ts_mean(volume, 105), 3)) - ts_std(high, 105) / ts_mean(low, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
15
108
-1.671
0.2113
-5.451
-0.5604
0.2361
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_delta(volume, 126) - ts_mean(volume, 126)) + delay(abs(ts_delta(volume, 126) - ts_mean(volume, 126)), 5))</alpha>" } ]
rank(abs(ts_delta(volume, 126) - ts_mean(volume, 126)) + delay(abs(ts_delta(volume, 126) - ts_mean(volume, 126)), 5))
crypto
absolute volume deviation (how far activity sits from its typical level)
126
must delay one series and leave the other unlagged
combine two independent branches with addition, not a ratio
do NOT default to a rolling price-volume correlation as the whole alpha
keep expected turnover low (prefer smooth, slow inputs)
true
true
true
true
20
131
-0.816
0.1432
-4.115
-0.4604
0.1438
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_mean(volume, 105) - ts_std(volume, 105)) * ts_std(high, 105))</alpha>" } ]
rank(abs(ts_mean(volume, 105) - ts_std(volume, 105)) * ts_std(high, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
false
false
true
false
13
105
-0.642
0.035
0.451
0.0567
0.0332
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_mean(volume, 105) - ts_std(volume, 105)) - ts_std(high - low, 105))</alpha>" } ]
rank(abs(ts_mean(volume, 105) - ts_std(volume, 105)) - ts_std(high - low, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
15
105
-0.172
0.0264
-3.317
-0.3821
0.0244
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_mean(volume, 105) - volume) / (ts_std(high, 105) + ts_std(low, 105)))</alpha>" } ]
rank(abs(ts_mean(volume, 105) - volume) / (ts_std(high, 105) + ts_std(low, 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
15
105
-0.445
0.1553
-3.694
-0.4353
0.1541
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_mean(volume, 105) - volume) / ts_std(high, 105))</alpha>" } ]
rank(abs(ts_mean(volume, 105) - volume) / ts_std(high, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
false
false
true
false
11
105
-0.462
0.1553
-3.7
-0.4364
0.154
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_mean(volume, 21) - ts_std(volume, 21)))</alpha>" } ]
rank(abs(ts_mean(volume, 21) - ts_std(volume, 21)))
crypto
absolute volume deviation (how far activity sits from its typical level)
21
must use volume only; no open/high/low/close/returns/vwap
use exactly two time-series operators
do NOT submit a bare single-operator signal like one volatility rank alone
keep expected turnover low (prefer smooth, slow inputs)
true
true
true
true
9
21
-0.589
0.0513
-3.281
-0.3834
0.0567
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_std(volume / close, 126) - ts_mean(volume / close, 126)) * log(close))</alpha>" } ]
rank(abs(ts_std(volume / close, 126) - ts_mean(volume / close, 126)) * log(close))
crypto
absolute volume deviation (how far activity sits from its typical level)
126
must combine a price series with a non-price series
use ts_std of a composite series, not of a raw terminal
do NOT reuse a formula family you already produced; vary the mechanism
prefer cross-sectionally symmetric exposure (no one-sided tilt)
true
true
true
true
16
126
-0.799
0.0276
1.922
0.305
0.0192
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_sum(volume, 105) - ts_sum(volume, 21)) / ts_max(high, 105))</alpha>" } ]
rank(abs(ts_sum(volume, 105) - ts_sum(volume, 21)) / ts_max(high, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
13
105
0.274
0.0031
-3.342
-0.4039
0.0028
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_sum(volume, 105) / ts_mean(high, 105) - ts_mean(open, 105)))</alpha>" } ]
rank(abs(ts_sum(volume, 105) / ts_mean(high, 105) - ts_mean(open, 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
13
105
0.22
0.0019
-3.369
-0.4036
0.002
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(abs(ts_sum(volume, 105) / ts_min(volume, 105) - 1))</alpha>" } ]
rank(abs(ts_sum(volume, 105) / ts_min(volume, 105) - 1))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
105
0.595
0.0455
-0.635
-0.1206
0.0509
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(delay(ts_mean(volume, 126), 1) + ts_std(volume, 126))</alpha>" } ]
rank(delay(ts_mean(volume, 126), 1) + ts_std(volume, 126))
crypto
absolute volume deviation (how far activity sits from its typical level)
126
must delay one series and leave the other unlagged
combine two independent branches with addition, not a ratio
do NOT default to a rolling price-volume correlation as the whole alpha
keep expected turnover low (prefer smooth, slow inputs)
true
true
true
true
10
127
0.055
0.0035
-3.899
-0.4281
0.0044
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(delay(ts_std(volume, 126), 5) + ts_mean(volume, 126))</alpha>" } ]
rank(delay(ts_std(volume, 126), 5) + ts_mean(volume, 126))
crypto
absolute volume deviation (how far activity sits from its typical level)
126
must delay one series and leave the other unlagged
combine two independent branches with addition, not a ratio
do NOT default to a rolling price-volume correlation as the whole alpha
keep expected turnover low (prefer smooth, slow inputs)
true
true
true
true
10
131
0.034
0.0035
-3.959
-0.4314
0.0045
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(abs(ts_mean(volume, 105) - volume) / ts_mean(open + high + low, 105)))</alpha>" } ]
rank(neg(abs(ts_mean(volume, 105) - volume) / ts_mean(open + high + low, 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
16
105
-1.205
0.153
2.245
0.3822
0.1503
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(scale(ts_mean(volume, 21) - ts_std(volume, 21))))</alpha>" } ]
rank(neg(scale(ts_mean(volume, 21) - ts_std(volume, 21))))
crypto
absolute volume deviation (how far activity sits from its typical level)
21
must use volume only; no open/high/low/close/returns/vwap
use exactly two time-series operators
do NOT submit a bare single-operator signal like one volatility rank alone
keep expected turnover low (prefer smooth, slow inputs)
true
true
true
true
10
21
-0.566
0.062
1.306
0.2372
0.0671
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(scale(ts_std(abs(delay(high - low, 1) - ts_mean(high - low, 168)), 21) / ts_mean(ts_std(volume, 21), 168))))</alpha>" } ]
rank(neg(scale(ts_std(abs(delay(high - low, 1) - ts_mean(high - low, 168)), 21) / ts_mean(ts_std(volume, 21), 168))))
crypto
absolute volume deviation (how far activity sits from its typical level)
168
must use both high and low as a range, not as separate levels
nest a delay inside another time-series operator
do NOT default to a rolling price-volume correlation as the whole alpha
make it robust to a volatility-regime change
true
true
true
true
23
189
0.5
0.0111
-3.076
-0.3849
0.0094
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(scale(ts_std(close * log(volume), 126))))</alpha>" } ]
rank(neg(scale(ts_std(close * log(volume), 126))))
crypto
absolute volume deviation (how far activity sits from its typical level)
126
must combine a price series with a non-price series
use ts_std of a composite series, not of a raw terminal
do NOT reuse a formula family you already produced; vary the mechanism
prefer cross-sectionally symmetric exposure (no one-sided tilt)
true
true
true
true
9
126
0.255
0.0041
-2.847
-0.3575
0.0041
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(scale(ts_std(volume - ts_mean(volume, 112), 126) / ts_mean(abs(high - low), 126))))</alpha>" } ]
rank(neg(scale(ts_std(volume - ts_mean(volume, 112), 126) / ts_mean(abs(high - low), 126))))
crypto
absolute volume deviation (how far activity sits from its typical level)
126
must combine a price series with a non-price series
use ts_std of a composite series, not of a raw terminal
do NOT reuse a formula family you already produced; vary the mechanism
prefer cross-sectionally symmetric exposure (no one-sided tilt)
true
true
true
true
17
238
-0.656
0.0024
3.216
0.5926
0.0028
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(scale(ts_std(volume / vwap, 126))))</alpha>" } ]
rank(neg(scale(ts_std(volume / vwap, 126))))
crypto
absolute volume deviation (how far activity sits from its typical level)
126
must combine a price series with a non-price series
use ts_std of a composite series, not of a raw terminal
do NOT reuse a formula family you already produced; vary the mechanism
prefer cross-sectionally symmetric exposure (no one-sided tilt)
true
true
true
true
8
126
-0.313
0.0023
3.179
0.5944
0.0029
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(scale(ts_sum(abs(volume - ts_mean(volume, 105)), 105) / ts_max(high, 105))))</alpha>" } ]
rank(neg(scale(ts_sum(abs(volume - ts_mean(volume, 105)), 105) / ts_max(high, 105))))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
15
210
-0.566
0.0023
3.28
0.6118
0.0019
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(scale(ts_sum(sign(ts_delta(high, 105)) * volume, 105))) / ts_std(low, 105))</alpha>" } ]
rank(neg(scale(ts_sum(sign(ts_delta(high, 105)) * volume, 105))) / ts_std(low, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use at least two of open/high/low
keep it minimal: at most 8 nodes
do NOT default to a rolling price-volume correlation as the whole alpha
prefer signals whose sign flips slowly (hold for the horizon)
true
false
true
false
15
210
-0.175
0.0271
0.459
0.0606
0.018
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_corr(ts_mean(volume, 21), ts_std(volume, 21), 21)))</alpha>" } ]
rank(neg(ts_corr(ts_mean(volume, 21), ts_std(volume, 21), 21)))
crypto
absolute volume deviation (how far activity sits from its typical level)
21
must use volume only; no open/high/low/close/returns/vwap
use exactly two time-series operators
do NOT submit a bare single-operator signal like one volatility rank alone
keep expected turnover low (prefer smooth, slow inputs)
true
false
true
false
10
42
-1.674
0.2198
-0.787
-0.1111
0.2275
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(abs(ts_sum(volume, 105) - ts_mean(volume, 105)), 105)))</alpha>" } ]
rank(neg(ts_max(abs(ts_sum(volume, 105) - ts_mean(volume, 105)), 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
12
210
-0.415
0.0021
3.79
0.7219
0.0029
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(abs(ts_sum(volume, 105) - ts_mean(volume, 105)), 21)) / ts_std(vwap, 105))</alpha>" } ]
rank(neg(ts_max(abs(ts_sum(volume, 105) - ts_mean(volume, 105)), 21)) / ts_std(vwap, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
16
126
-0.201
0.0027
3.412
0.6615
0.0027
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_std(volume, 21), 105)) / ts_sum(volume, 21))</alpha>" } ]
rank(neg(ts_max(ts_std(volume, 21), 105)) / ts_sum(volume, 21))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
126
0.239
0.0793
-0.28
-0.0427
0.0747
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_std(volume, 21), 105)) / ts_sum(vwap, 105))</alpha>" } ]
rank(neg(ts_max(ts_std(volume, 21), 105)) / ts_sum(vwap, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
126
-0.296
0.0024
3.174
0.5711
0.0029
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(abs(volume - delay(volume, 1)), 105), 105)) / ts_std(close, 105))</alpha>" } ]
rank(neg(ts_max(ts_sum(abs(volume - delay(volume, 1)), 105), 105)) / ts_std(close, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
16
211
-0.584
0.0026
3.209
0.6139
0.0025
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 105)), 21) / ts_sum(vwap, 42), 63)))</alpha>" } ]
rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 105)), 21) / ts_sum(vwap, 42), 63)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
16
189
-0.625
0.0027
3.19
0.5807
0.0029
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 105)), 21), 84)))</alpha>" } ]
rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 105)), 21), 84)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
12
210
-0.46
0.005
3.638
0.6404
0.0057
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 21)), 105), 105)) / ts_std(close, 42))</alpha>" } ]
rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 21)), 105), 105)) / ts_std(close, 42))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
16
231
-0.545
0.0059
3.339
0.6314
0.0053
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 21)), 8) / ts_sum(vwap, 105), 13)))</alpha>" } ]
rank(neg(ts_max(ts_sum(abs(volume - ts_mean(volume, 21)), 8) / ts_sum(vwap, 105), 13)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
16
118
-0.394
0.0097
3.169
0.5834
0.0112
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(abs(volume - ts_sum(volume, 21) / 21), 105), 105)))</alpha>" } ]
rank(neg(ts_max(ts_sum(abs(volume - ts_sum(volume, 21) / 21), 105), 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
14
231
-0.461
0.0026
3.805
0.7076
0.0034
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 105) - ts_min(volume, 105), 21)))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 105) - ts_min(volume, 105), 21)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
126
-0.096
0.0032
3.893
0.7298
0.0042
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 105) / ts_sum(volume, 21), 105)))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 105) / ts_sum(volume, 21), 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
210
-1.007
0.0262
-0.242
-0.0375
0.0264
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 105), 105)) / ts_std(volume, 105))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 105), 105)) / ts_std(volume, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
210
0.548
0.0471
0.238
0.028
0.0415
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 105), 105)))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 105), 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
7
210
-0.415
0.0021
3.79
0.7219
0.0029
[ "Qwen/Qwen3.8-27B" ]
2
2
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 105), 21)) / ts_min(ts_std(volume, 21), 105))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 105), 21)) / ts_min(ts_std(volume, 21), 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
13
126
-0.399
0.0585
-1.136
-0.1723
0.0542
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 105), 21)))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 105), 21)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
7
126
-0.095
0.0032
3.888
0.7287
0.0041
[ "Qwen/Qwen3.8-27B" ]
1
2
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 105), 5)) * ts_std(returns, 105))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 105), 5)) * ts_std(returns, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
110
-0.12
0.0058
3.879
0.7098
0.0066
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 112), 12)) / (ts_std(vwap, 112) + ts_sum(volume, 112)))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 112), 12)) / (ts_std(vwap, 112) + ts_sum(volume, 112)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
15
124
-1.339
0.2209
-0.628
-0.116
0.2119
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 21), 105)) / ts_std(returns, 105))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 21), 105)) / ts_std(returns, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
126
-0.049
0.0062
3.916
0.7119
0.007
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 21), 105)) / ts_std(vwap, 105))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 21), 105)) / ts_std(vwap, 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
126
-0.213
0.0031
3.33
0.6208
0.0035
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 21), 105)) / ts_std(vwap, 63))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 21), 105)) / ts_std(vwap, 63))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
11
126
-0.207
0.0044
3.397
0.6441
0.0048
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(ts_sum(volume, 35), 105)) / (ts_std(volume, 105) + ts_mean(volume, 105)))</alpha>" } ]
rank(neg(ts_max(ts_sum(volume, 35), 105)) / (ts_std(volume, 105) + ts_mean(volume, 105)))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
false
true
true
false
15
140
0.495
0.0744
-1.044
-0.1752
0.068
[ "Qwen/Qwen3.8-27B" ]
1
1
rl_rollout
[ { "role": "system", "content": "You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL. Output ONE formula that a recursive-descent parser must accept — any deviation scores zero, so follow the grammar exactly.\n\nDATA (each is a matrix, days x assets): open high low close vol...
[ { "role": "assistant", "content": "<alpha>rank(neg(ts_max(volume, 105)) / ts_sum(abs(ts_delta(vwap, 1)), 105))</alpha>" } ]
rank(neg(ts_max(volume, 105)) / ts_sum(abs(ts_delta(vwap, 1)), 105))
crypto
absolute volume deviation (how far activity sits from its typical level)
105
must use ts_sum rather than ts_mean for any accumulation
use ts_max or ts_min as the primary operator
do NOT build a static price-level book (no rank(ts_mean(close, N)) shapes)
make it robust to a volatility-regime change
true
true
true
true
12
106
-0.311
0.0042
3.204
0.5938
0.0043
[ "Qwen/Qwen3.6-27B" ]
1
1
rl_rollout
End of preview. Expand in Data Studio

GFT Quant Alphas SFT

512,544 prompt–completion pairs: a research brief in, one formulaic trading alpha out. The formulas use a small DSL in the style of WorldQuant's 101 Formulaic Alphas.

The answers were written by Qwen models (4B to 27B) during our reinforcement-learning runs on an alpha-generation gym, between July and October 2026.

Each row passed three filters:

  1. Valid formula. It was re-checked against the published grammar and evaluated on real market data.
  2. Exact brief. Its brief is the one the model actually saw, recovered and statistically verified (see How it was built).
  3. Backtest metrics. It was scored with one consistent backtest.
Split Rows US stocks Crypto Distinct briefs Source
train 507,236 376,807 130,429 1,341 answers sampled during RL training
test 5,308 2,566 2,742 212 greedy answers to held-out evaluation briefs

The two splits share no brief. Evaluation briefs come from a separate generator seed and a disjoint set of horizons, and no model was trained on them.

Example

[system] You are a quant researcher inventing ORIGINAL formulaic alphas in a small, strict DSL ... (full grammar in system_prompt.txt)
[user]   Market: US-listed stocks trading on weekday sessions.
         Design an alpha whose PRIMARY mechanism is: mixed-input volatility (risk measured on a price-volume composite)
         Target horizon: react over roughly 47-day windows (windows near 47 are appropriate; exact values are yours to choose).
         Inputs: must combine a price series with a non-price series.
         Structure: difference two windows of the SAME operator (fast minus slow).
         Constraint: do NOT window-jitter a textbook momentum spread and call it new
         Risk preference: prefer signals whose sign flips slowly (hold for the horizon).
[assistant] <alpha>rank(ts_std(volume, 47) / ts_std(close, 47))</alpha>

Columns

Column Meaning
prompt Chat messages: the system prompt with the DSL grammar, then the brief. This is TRL's conversational prompt–completion format
completion One assistant message: <alpha>formula</alpha>
formula The formula alone
market us-equities or crypto
brief_mechanism, brief_window, brief_inputs, brief_structure, brief_constraint, brief_risk The brief's fields, parsed from its text
inputs_ok, structure_ok, horizon_ok Whether the formula meets the brief's input rule, its structure rule, and has a window within 0.67×–1.5× of the brief's horizon
follows_brief All three checks above pass. The economic mechanism line is not checked
n_nodes, lookback Size of the formula's parse tree; total nested lookback in days
train_sharpe, train_turnover Annualized net Sharpe and mean daily turnover on the train window
holdout_sharpe, holdout_return, holdout_turnover The same on the year after the train window, plus its total net return
models The models that produced this exact pair
n_runs, n_samples How many runs, and how many sampled answers, produced it
source rl_rollout (train split) or probe (test split)

Quick start

from datasets import load_dataset

ds = load_dataset("g-factor-technologies/GFT-Quant-Alphas-SFT")
# A stricter SFT subset: follows the brief and earns a positive train-window Sharpe.
good = ds["train"].filter(lambda r: r["follows_brief"] and r["train_sharpe"] > 0.5)  # 22,771 rows

The prompt and completion columns plug directly into TRL's SFTTrainer. Select rows on train-window metrics only, and keep the holdout columns for evaluation; otherwise the holdout year stops being out of sample.

How it was built

Sources. The data comes from 134 GRPO runs logged between 2026-07-13 and 2026-10-05:

  • Training split: every answer the trainer sampled.
  • Test split: the periodic greedy probe on 50 evaluation briefs.

Recovering the brief. Training logs store the answers in order, but not which brief each answer was for. We rebuilt each run's prompt order from its own code version and seed: the prompt bank, its filters and samplers, and TRL's seeded shuffle. We kept a run only if the recovered briefs proved correct on its answers.

Here is how the check works:

  • Models often reuse the brief's horizon as a window.
  • Across kept runs, 60–98% of formulas contain the brief's exact window. With the briefs shuffled, only 5–12% do.
  • Off-by-one or wrong-seed replays fall to the shuffled rate.

Runs whose order could only be estimated were dropped, and so were multi-turn tool-use episodes.

Valid formula. Every formula must pass all of these checks:

  • It parses under the grammar in system_prompt.txt and uses only the listed operators.
  • Windows are integers from 1 to 252, and the total nested lookback is at most 252 days.
  • It contains no epsilon constants.
  • It is wrapped in rank(...) or scale(...).
  • It is not a static price-level book.
  • On the train window it gives finite values, varies across assets on most days, and produces positions that are active and change over time.

Of 680,226 distinct logged formulas, 584,171 passed.

Normalization. The data was cleaned in three ways:

  • System prompt: every row uses the current system prompt. Older runs used earlier variants of it, for example with another lookback limit or with a one-sentence rationale before the formula.
  • Briefs: briefs from the first generator version had no Market: line and were US-stock only, so they got the current generator's US market line.
  • Formulas: formulas were re-spelled from their parse tree, giving uniform spacing and no redundant parentheses. Each new spelling parses back to the identical tree.

Pairs that became identical were merged; n_samples keeps the count.

Metrics

The engine is the same for every row:

  • Book: the formula's values are ranked across assets each day, demeaned and scaled to a dollar-neutral book with gross exposure 1. Trades fill at the next open.
  • Costs:
    • 3.5 bps per unit of turnover;
    • square-root market impact on a $1M book, plus a capacity penalty;
    • 50 bps a year for borrowing stock to short.
Market Universe Train window Holdout year Days per year
us-equities 46 US large caps 2012-06-29 to 2025-08-20 2025-08-21 to 2026-08-21 252
crypto 42 Coinbase spot assets 2022-02-01 to 2025-08-20 2025-08-21 to 2026-08-20 365

Most answers are exploration, not finished alphas. In train, 29% of rows have a positive train-window Sharpe and 8% are above 0.5. Price data is not included.

Limitations

  • Volume and family quality. Models trained with RL repeat families. Many rows are window variants of one idea, so the set holds fewer distinct ideas than rows.
  • Brief compliance. 43% of train rows follow every checkable rule of their brief. The economic mechanism is never checked.
  • Metrics. The metrics come from one cost model, one universe per market and one holdout year. The stock universe has survivorship bias: today's large caps are followed back to 2012.
  • Not advice. This is research data, not investment advice.

Related

@misc{gfactor2026alphasft,
  title  = {GFT Quant Alphas SFT: verified brief-to-formula pairs from RL alpha-generation runs},
  author = {Romanov, Aleksei and {g factor technologies}},
  year   = {2026},
  url    = {https://huggingface.co/datasets/g-factor-technologies/GFT-Quant-Alphas-SFT}
}
Downloads last month
16

Paper for g-factor-technologies/GFT-Quant-Alphas-SFT