[Futures][New Orders]How to calculate quantity given size in USDT?


Currently, the parameters when creating a new order via api is expressed in quantity. Let’s assume I want to purchase 200 USDT(as the size), how can I compute for the quantity to be entered in the endpoint?

The quantity passed to the New Order endpoint defines the quantity of the quote asset. You can calculate the quantity of the quote asset using the base asset quantity for futures using the follow formula.

quote_asset_quantity = base_asset_quantity * market_price