mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-13 07:46:53 +08:00
Update handler.py to fix CI (#1227)
* Update handler.py * Update handler.py
This commit is contained in:
@@ -280,7 +280,7 @@ class Alpha158(DataHandlerLP):
|
|||||||
fields += ["Slope($close, %d)/$close" % d for d in windows]
|
fields += ["Slope($close, %d)/$close" % d for d in windows]
|
||||||
names += ["BETA%d" % d for d in windows]
|
names += ["BETA%d" % d for d in windows]
|
||||||
if use("RSQR"):
|
if use("RSQR"):
|
||||||
# The R-sqaure value of linear regression for the past d days, represent the trend linearity for past d days.
|
# The R-sqaure value of linear regression for the past d days, represent the trend linear
|
||||||
fields += ["Rsquare($close, %d)" % d for d in windows]
|
fields += ["Rsquare($close, %d)" % d for d in windows]
|
||||||
names += ["RSQR%d" % d for d in windows]
|
names += ["RSQR%d" % d for d in windows]
|
||||||
if use("RESI"):
|
if use("RESI"):
|
||||||
|
|||||||
Reference in New Issue
Block a user