Hello guys, I am trying to place a futures order through api.
Here is the code below:
This code is making order of buying 12 FLM quantity with usdt of 6$ as price of FLM is 0.5 at that time .
But what I want to make order is 12$ usdt as quantity parameter and whatever the quantity can be get during that market price should be place order.
I want to pass USDT as quantity parameter, The reason for this is, for specific quantity of any token, we need to fetch price to calculate quantity with available balance for trade, this consumes some time, I don’t want to waste that time.
Is there any way to make USDT as quantity parameter?