|
@@ -65,7 +65,7 @@ class TradingEngine:
|
|
|
if balance and balance.get('total'):
|
|
|
usdc_balance = float(balance['total'].get('USDC', 0))
|
|
|
# The set_initial_balance method is synchronous
|
|
|
- await self.stats.set_initial_balance(usdc_balance)
|
|
|
+ self.stats.set_initial_balance(usdc_balance)
|
|
|
except Exception as e:
|
|
|
logger.error(f"Could not set initial balance during async init: {e}", exc_info=True)
|
|
|
|