binance-futures-connector 4.1.0
from binance.um_futures import UMFutures
# U本位 USDT-M Futures /fapi/*
# 币本位 COIN-M Delivery /dapi/*
proxies = {
'https': 'http://localhost:7890' }
client = UMFutures(proxies=proxies)
apiKey=""
apiSecret=""
client = UMFutures(key=apiKey, secret=apiSecret)
账户信息
def accountInfo(client):
account_info = client.account()
totalWalletBalance = account_info.get('totalWalletBalance', 0)
totalUnrealizedProfit = account_info.get(