I am trying to place a market order with the leverage of 20 but when the order is placed I am getting the leverage of 1.
I placed the market order like this:
exchange = ccxt.kucoinfutures({
'adjustForTimeDifference': True,
"apiKey": '...', # Api key here
"secret": '...', # Api Secret here
'password': '...', # Passphrase when making the Api
'enableRateLimit': True,
})
order_response = exchange.createOrder('DOGEUSDTM', 'market', 'buy', 5, {'leverage': 20})
print(order_response)