buy
Place a Polymarket order to purchase shares in a specified outcome using a set dollar amount, choosing fill-or-kill or fill-and-kill execution against live market prices.
Instructions
Buy shares in a Polymarket outcome.
Spends amount_usd to buy at best available prices. order_type: "fok" (fill-or-kill) or "fak" (fill-and-kill, allows partial).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | default | |
| outcome | Yes | ||
| amount_usd | Yes | ||
| order_type | No | fok | |
| slug_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |