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:
21in7
2026-03-02 13:24:27 +09:00
parent de2a402bc1
commit 7a1abc7b72
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
python-binance==1.0.19
python-binance>=1.0.28
pandas>=2.3.2
pandas-ta==0.4.71b0
python-dotenv==1.0.0

View File

@@ -144,5 +144,5 @@ class BinanceFuturesClient:
symbol=self.config.symbol
),
)
except BinanceAPIException as e:
except Exception as e:
logger.warning(f"Algo 주문 전체 취소 실패 (무시): {e}")