Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Commit 7e3a9f0

Browse files
committed
[ExchangeService] Always push profile, don't check if profile is updated
1 parent 2af21c4 commit 7e3a9f0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Services/Services_feeds/exchange_service_feed/exchange_feed.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ async def _fetch_exchange_profile(self, profile_id: str) -> bool:
119119
current_profile.update_next_refresh()
120120
exchange_has_positions = True
121121
if exchange_has_positions:
122-
previous_positions = copy.deepcopy(current_profile.positions) if current_profile is not None else []
123122
current_profile.positions = await exchange_manager.exchange.get_user_positions(current_profile.profile_id)
124-
if previous_positions != current_profile.positions:
125-
updated = True
123+
updated = True
126124
else:
127125
# TODO later: Update portfolio to support SPOT copy trading
128126
pass

0 commit comments

Comments
 (0)