Primitives
poly
Polymarket execution primitive that emits broker-facing yes/no order intent.
poly (tick)
Polymarket execution primitive that emits broker-facing yes/no order intent.
Input parameters
| Prop | Type | Default | Description |
|---|---|---|---|
type* | string | market | The Polymarket order type: market or limit |
side* | string | The Polymarket broker side: buy or sell | |
outcome | string | - | The contract outcome slot: yes or no |
dir | string | - | Directional alias for outcome: up -> yes, down -> no |
amount | number | - | Dollar amount to buy or sell on Polymarket |
quantity | number | - | Number of shares to buy or sell |
size | number | - | Alias for quantity |
price | number | - | Limit price for limit orders |
transmit | boolean | false | Whether to transmit the order immediately |
note | string | Optional note carried with the broker intent | |
conditionId | string | Optional explicit Polymarket condition id override | |
tokenId | string | Optional explicit Polymarket token id override | |
marketSlug | string | Optional explicit Polymarket market slug override |
SQL example
TICK polyHasMarket = true THEN poly SET side="buy", dir="up", amount=1, transmit=true