adjust_position
Adjust the size of an existing Pear Protocol position by specifying a percentage reduction or increase, with immediate market or limit execution.
Instructions
Reduce or increase an existing Pear Protocol position's size by 1-100 percent. executionType: MARKET (immediate) or LIMIT (provide limitRatio). WRITE: changes exposure on a real trade. Requires PEAR_TRADE_ENABLED=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positionId | Yes | ||
| adjustmentType | Yes | ||
| adjustmentSize | Yes | ||
| executionType | Yes | ||
| limitRatio | No | ||
| referralCode | No |