Partially Adjust Position
Reduce part of an open basket.
To take part of a basket off, reduce it with POST /trade/:positionId/adjust (SDK: sdk.core.trade.adjust) using a partial size. A reduce cannot flip a leg's side; to go the other way, close and reopen, or use POST /trade/:positionId/reverse.
The change is asynchronous and surfaces as position.updated over the WebSocket. Exact fields live in @pear-protocol/types and the API Specification.