divide(fnd6_spce, fnd6_newqeventv110_spceepsq)

group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业)

ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4)

sign(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4))

multiply(sign(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4)), rank(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4)))

if_else(greater_equal(fnd6_newqeventv110_spceepsq, 0), multiply(sign(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4)), rank(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4))), 0)

ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4, dense=false)

if_else(greater_equal(ts_delta(fnd6_newqeventv110_spceepsq, 1), 0), multiply(sign(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4)), rank(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4))), 0)

winsorize(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4), std=3)

normalize(multiply(sign(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4)), rank(ts_decay_linear(group_zscore(divide(fnd6_spce, fnd6_newqeventv110_spceepsq), group=申万行业), 4))), useStd=true)