PearPear
API IntegrationExecuting Trade

Order Type

Choose how a basket fills: market, trigger, TWAP, or ladder.

Every basket opens through one of four execution styles. Market fills immediately; the other three place a resting order that opens the basket later.

TypeEndpointUse it to
MarketPOST /trade/openEnter now, at the current market.
TriggerPOST /triggers/openEnter when a price or ratio condition is met.
Time-Weighted Average PricePOST /schedulesSpread the entry into timed chunks to reduce impact.
LadderPOST /laddersStagger multiple entries across a ratio range.

All four are scoped to a trade account and report progress over the WebSocket.