sell
Exit a Polymarket outcome position by liquidating shares at best available prices. Choose fill-or-kill or fill-and-kill order types for full or partial fills.
Instructions
Sell shares in a Polymarket outcome.
Sells shares at best available prices. order_type: "fok" (fill-or-kill) or "fak" (fill-and-kill, allows partial).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shares | Yes | ||
| account | No | default | |
| outcome | Yes | ||
| order_type | No | fok | |
| slug_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |