We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94e420f commit 59fbf23Copy full SHA for 59fbf23
qlib/contrib/report/analysis_position/parse_position.py
@@ -39,6 +39,7 @@ def parse_position(position: dict = None) -> pd.DataFrame:
39
40
result_df = pd.DataFrame()
41
for _trading_date, _value in position.items():
42
+ _value = _value.position
43
# pd_date type: pd.Timestamp
44
_cash = _value.pop("cash")
45
for _item in ["now_account_value"]:
0 commit comments