Prepare a limit 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. Supports GTC and ALO time-in-force.
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 limit 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)
Limit price (human-readable)
Time-in-force: 'gtc' (good til cancel) or 'alo' (add liquidity only)
If true, order can only reduce an existing position
Optional client order ID for idempotency (uint128)
Successful Response
Returned by prepare endpoints — contains EIP-712 typed data for the user to sign.