Skip to content

Commit be8994c

Browse files
committed
fix bug:html report direction right.
1 parent cf4ce60 commit be8994c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend_api_python/app/services/portfolio_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def _get_positions_for_monitor(position_ids: List[int] = None, user_id: int = No
115115
symbol = row.get('symbol')
116116
entry_price = float(row.get('entry_price') or 0)
117117
quantity = float(row.get('quantity') or 0)
118-
side = row.get('side') or 'long',
118+
side = row.get('side') or 'long'
119119
group_name = row.get('group_name')
120120

121121
# Get current price (use realtime price API)

0 commit comments

Comments
 (0)