Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
reduce_only
buy: received_base = (usdc_spent / price) * (1 - fee_rate) sell: received_usdc = (base_sold * price) * (1 - fee_rate)
size * price
available_to_spend
available_to_withdraw
size
spot_collateral_value