1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-19 10:24:35 +08:00

black format & add comments & add randStrategy direction

This commit is contained in:
Young
2021-06-28 08:16:51 +00:00
committed by you-n-g
parent 72c9593aa7
commit 27f0db669f
13 changed files with 132 additions and 102 deletions

View File

@@ -18,7 +18,7 @@ from ..tests.config import CSI300_BENCH
class Report:
'''
"""
Motivation:
Report is for supporting portfolio related metrics.
@@ -26,7 +26,8 @@ class Report:
daily report of the account
contain those followings: returns, costs turnovers, accounts, cash, bench, value
update report
'''
"""
def __init__(self, freq: str = "day", benchmark_config: dict = {}):
"""
Parameters