Hi,
I know SPOT API has quoteOrderQty param available for market orders. Is there a way to create an order like this on futures API?
If not, can someone paste a function or an algorithm to calculate the quantity?
Many thanks
Hi,
I know SPOT API has quoteOrderQty param available for market orders. Is there a way to create an order like this on futures API?
If not, can someone paste a function or an algorithm to calculate the quantity?
Many thanks
Is there a way to create an order like this on futures API?
No, the futures API does not support the quoteOrderQty parameter when placing orders.
If not, can someone paste a function or an algorithm to calculate the quantity?
BUY: quantity = quoteOrderQty / exchange_rate (market_price)
SELL: quantity = quoteOrderQty * exchange_rate (market_price)