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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user