Temporal_Relational_Stock_Ranking
Temporal_Relational_Stock_Ranking copied to clipboard
Potential error in RT@1 calculation.
Why are the bt variables in the evaluator.py (bt_long, bt_long5, bt_long10) initialized as 1.0. They should have been initialized as 0.0.
It's not an issue. We subtract 1.0 before report performance. The consideration of not initializing it with 0.0 is the potential of running back-testing where the total money changes along the testing days (money decreases if you loss money at the beginning).