Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions delegate/daily_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,10 @@ def today_hold_report(self, today: str, positions):

def check_asset(self, today: str, asset):
title = f'[{self.account_id}]{self.strategy_name} 盘后清点'
text = title
text = title + MSG_OUTER_SEPARATOR

increase = get_total_asset_increase(self.path_assets, today, asset.total_asset)
if increase is not None:
text += MSG_OUTER_SEPARATOR

total_change = colour_text(
f'{"+" if increase > 0 else ""}{round(increase, 2)}',
increase > 0,
Expand Down