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:
@@ -1,4 +1,4 @@
|
|||||||
python-binance==1.0.19
|
python-binance>=1.0.28
|
||||||
pandas>=2.3.2
|
pandas>=2.3.2
|
||||||
pandas-ta==0.4.71b0
|
pandas-ta==0.4.71b0
|
||||||
python-dotenv==1.0.0
|
python-dotenv==1.0.0
|
||||||
|
|||||||
@@ -144,5 +144,5 @@ class BinanceFuturesClient:
|
|||||||
symbol=self.config.symbol
|
symbol=self.config.symbol
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
except BinanceAPIException as e:
|
except Exception as e:
|
||||||
logger.warning(f"Algo 주문 전체 취소 실패 (무시): {e}")
|
logger.warning(f"Algo 주문 전체 취소 실패 (무시): {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user