Place limit order
place_limit_orderPlace a resting paper limit order on Polymarket or Kalshi markets, reserving cash for buys and filling crossing orders immediately as a taker. Resting orders fill only when check_orders runs.
Instructions
Place a resting paper limit order on a Polymarket or Kalshi ('kalshi:') market.
Stores the order locally and reserves cash for a buy; an order that crosses the book fills at once as a taker. Resting orders fill only when check_orders runs. Use buy or sell for an immediate market-price fill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | 'buy' or 'sell'. | |
| amount | Yes | For a buy, USD to spend (minimum 1.0 on Polymarket, none on Kalshi); for a sell, number of shares to sell. | |
| account | No | Paper account name; any name without '/', '\', '..' or surrounding spaces. Each name is a separate local account. Default 'default'. | default |
| outcome | Yes | Outcome to trade, e.g. 'yes' or 'no' (case-insensitive); must match one of the market's outcomes. | |
| expires_at | No | ISO 8601 expiry timestamp, e.g. '2026-12-31T23:59:00Z'; required when order_type is 'gtd'. Default none. | |
| order_type | No | 'gtc' (open until filled or cancelled) or 'gtd' (expires at expires_at). Default 'gtc'. | gtc |
| slug_or_id | Yes | Market slug or condition ID. For a Kalshi market use the slug 'kalshi:<TICKER>', e.g. 'kalshi:KXNBAGAME-26OCT16DENLAL-LAL'. | |
| limit_price | Yes | Limit price strictly between 0 and 1, on the market's tick grid (e.g. 0.42). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |