PearPear

Market Order

Open a basket immediately at market.

A market order opens the basket now, at the current market price, across every leg.

Use POST /trade/open with the market execution style. With the SDK:

await sdk.core.trade.open(body); // market execution style

The call returns an execution acknowledgement. The fill and resulting position arrive over the WebSocket (execution.completed, then position.created). Slippage tolerance is part of the request body; see the API Specification for the exact fields.