mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 15:26:54 +08:00
update env & strategy, add workflow
This commit is contained in:
@@ -129,8 +129,7 @@ class Account:
|
||||
# judge whether the the trading is begin.
|
||||
# and don't add init account state into report, due to we don't have excess return in those days.
|
||||
self.report.update_report_record(
|
||||
trade_start_time=trade_start_time,
|
||||
trade_end_time=trade_end_time,
|
||||
trade_time=trade_start_time,
|
||||
account_value=now_account_value,
|
||||
cash=self.current.position["cash"],
|
||||
return_rate=(self.earning + self.ct) / last_account_value,
|
||||
|
||||
Reference in New Issue
Block a user