0
ध्यान केंद्रित करना
0
समर्थक

ऑर्डर समस्या, खरीदें(27793.27, 0.001): 400: {"code":-4014,"msg":"कीमत टिक आकार से नहीं बढ़ी."} कृपया मुझे बताएं

में बनाया: 2023-05-08 17:38:20, को अपडेट:
comments   1
hits   977

मल्टी हेड पोजीशन खोलें

def open_long(exchange, symbol, amount): last_price = exchange.GetTicker()[‘Last’] adjusted_price = last_price * 1.0001 contract_amount = amount * adjusted_price / 100 contract_amount = round(contract_amount, 4) # Round to 4 decimal places Log(“Buy:”, symbol, contract_amount) exchange.SetDirection(“buy”) return exchange.Buy(adjusted_price, contract_amount)

2023-05-08 17:18:19	Futures_Binance	错误	Buy(27793.27, 0.001): 400: {"code":-4014,"msg":"Price not increased by tick size."}