elif float(btc_price["price"]) >= buy1 * percentsell and buy1 !=0: print("sell1") order = client.order_market_sell(symbol="BTCUSDT", side='SELL', type='MARKET', quoteOrderQty=ordergroote)
“我想检查一下 float(btc_price["price"])