Prepare a market order on a global markets perps market.
Returns EIP-712 typed data for the user to sign. After signing, submit the signature via the /execute endpoint. Executes as an IOC order at the current mark price with slippage protection.
Documentation Index
Fetch the complete documentation index at: https://docs.compasslabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request to place a market order on a global markets perps market.
Owner of the global markets perps product account
Asset ticker symbol (e.g. AAPL, GOLD, EUR)
Order side: 'buy' or 'sell'
Number of contracts (human-readable)
Max slippage percentage for price protection
0 <= x <= 100If true, order can only reduce an existing position
Successful Response
Returned by prepare endpoints — contains EIP-712 typed data for the user to sign.