|
|
@@ -554,7 +554,8 @@ class ArbitrageProcess:
|
|
|
continue
|
|
|
|
|
|
# 處理pending數量
|
|
|
- pending_amount = pending_amount + Decimal(deposit['amount'])
|
|
|
+ if Decimal(deposit['confirmTimes']) < Decimal(deposit['unlockConfirm']):
|
|
|
+ pending_amount = pending_amount + Decimal(deposit['amount'])
|
|
|
|
|
|
# 檢查到沒到列表中
|
|
|
if deposit['transHash'] != self.arbitrage_details['chain_buy_tx_hash']:
|
|
|
@@ -562,7 +563,7 @@ class ArbitrageProcess:
|
|
|
is_list = True
|
|
|
|
|
|
# 檢查是否滿足快速提現的條件
|
|
|
- if is_list == True:
|
|
|
+ if is_list:
|
|
|
# 交易所代幣余额判断
|
|
|
balances = mexc.trade.get_account_info()['balances']
|
|
|
asset_balance = 0
|