PearPear

Ladder Order

Stagger multiple basket entries across a ratio range.

A ladder places several resting entries across a range of price ratios, so the basket builds in steps as the market moves into your range instead of all at once.

Create one with POST /ladders (SDK: sdk.core.ladders.create). You set the start and end of the ratio range and the number of levels; Pear spreads the size across that many entries.

Read a ladder with GET /ladders/:id, list them with GET /ladders, and cancel one (with its active rungs) via sdk.core.ladders.cancel. Rung fills and the resulting position stream over the WebSocket (ladder.created, ladder.updated, then position.*).

The exact configuration (ratio range, level count, sizing) is defined by @pear-protocol/types and the API Specification.