chore: update python-binance dependency and improve error handling in BinanceFuturesClient
- Changed python-binance version requirement from 1.0.19 to >=1.0.28 for better compatibility and features. - Modified exception handling in the cancel_all_orders method to catch all exceptions instead of just BinanceAPIException, enhancing robustness.
This commit is contained in:
@@ -144,5 +144,5 @@ class BinanceFuturesClient:
|
||||
symbol=self.config.symbol
|
||||
),
|
||||
)
|
||||
except BinanceAPIException as e:
|
||||
except Exception as e:
|
||||
logger.warning(f"Algo 주문 전체 취소 실패 (무시): {e}")
|
||||
|
||||
Reference in New Issue
Block a user