1
This commit is contained in:
parent
aeefb21f4e
commit
0d22be2c01
@ -95,7 +95,10 @@ class BitgetLiveTradingService:
|
||||
}
|
||||
"""
|
||||
balance = self.trading_api.get_balance()
|
||||
logger.debug(f"[Bitget] get_balance 原始返回: {balance}")
|
||||
if not balance:
|
||||
logger.warning("[Bitget] get_balance() 返回空,API 调用可能失败")
|
||||
else:
|
||||
logger.debug(f"[Bitget] get_balance 原始返回: {balance}")
|
||||
|
||||
usdt = balance.get('USDT') or balance.get('usdt') or {}
|
||||
if not usdt:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user