Should the quantity parameter be calculated by usdt multiply leverage? Or just the USDT I want to spend?
client.futures_create_order(symbol='BNBUSDT', side='LONG', type='MARKET',
quantity = 100 USDT * leverage / asset_price)
or
client.futures_create_order(symbol='BNBUSDT', side='LONG', type='MARKET',
quantity = 100 USDT / asset_price)
In fact I’m using binance-go api sdk, the python code is just for demonstration.
Sorry for my bad English grammar.