Skip to content

Commit 6933b50

Browse files
committed
Add new alpha
1 parent 5c60317 commit 6933b50

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

brain/alphas/alpha_30.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Code
2+
code = """
3+
-group_neutralize(group_neutralize(
4+
ts_decay_linear(ts_quantile(mdl77_2400_vefcomtt,1260,driver="cauchy"),5),
5+
bucket(rank(capex/sales),range="0,1,0.1")),
6+
bucket(rank(debt/enterprise_value),range="0,1,0.2")
7+
)
8+
"""
9+
10+
# Simulation Settings
11+
config = {
12+
"region": "USA",
13+
"universe": "TOP3000",
14+
"decay": 0,
15+
"delay": 1,
16+
"truncation": 0.05,
17+
"neutralization": "SUBINDUSTRY",
18+
"pasteurization": "ON",
19+
"nan_handling": "OFF",
20+
"unit_handling": "VERIFY",
21+
}

0 commit comments

Comments
 (0)