1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-04 03:21:00 +08:00
Files
qlib/qlib
qianyun210603 4001a5d157 Bug fix for Rank and WMA operators (#1228)
* bug fix: 1) 100 should be used to scale down percentileofscore return to 0-1, not length of array; 2) for (linear) weighted MA(n), weight should be n, n-1, ..., 1 instead of n-1, ..., 0

* use native pandas fucntion for rank

* remove useless import

* require pandas 1.4+

* rank for py37+pandas 1.3.5 compatibility

* lint improvement

* lint black fix

* use hasattr instead of version to check whether rolling.rank is implemented
2022-11-13 19:03:23 +08:00
..
2022-11-10 21:10:11 +08:00
2022-11-08 10:51:43 +08:00
2022-06-28 19:53:21 +08:00
2022-11-11 10:25:04 +08:00
2022-10-07 22:32:07 +08:00
2022-11-10 21:10:11 +08:00
2022-07-07 20:04:24 +08:00
2022-08-30 08:53:57 +08:00