You're viewing a demo portfolio

Join the waitlist
PRSM

prediction.quote

Active

Tool of Syenite

declared in 0.6.3

Simulates a Polymarket CLOB order fill by walking the live order book, computing average fill price, total cost in USDC, slippage from mid-price in percentage and basis points, and available book depth for a given size. Call this before prediction.order to validate that the book can absorb the desired position size at an acceptable price. Requires tokenId (from prediction.trending/search), side (buy or sell), outcome (YES or NO — informational label only), and size in shares; optionally pass orderType (market or limit) and limitPrice. Returns a partial-fill warning if the book cannot fully absorb the requested size, and a slippage warning if estimated slippage exceeds 5%. Polymarket CLOB currently charges zero maker and taker fees. Does not place an order.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "tokenId",
    "side",
    "outcome",
    "size"
  ],
  "properties": {
    "side": {
      "enum": [
        "buy",
        "sell"
      ],
      "type": "string",
      "description": "Direction: buy to open a position, sell to close"
    },
    "size": {
      "type": "number",
      "description": "Order size in shares",
      "exclusiveMinimum": 0
    },
    "outcome": {
      "enum": [
        "YES",
        "NO"
      ],
      "type": "string",
      "description": "Informational — used for display only"
    },
    "tokenId": {
      "type": "string",
      "description": "Polymarket outcome token ID"
    },
    "orderType": {
      "enum": [
        "market",
        "limit"
      ],
      "type": "string",
      "default": "market",
      "description": "Order type: market fills immediately, limit rests in the book"
    },
    "limitPrice": {
      "type": "number",
      "maximum": 1,
      "minimum": 0,
      "description": "Required for limit orders (USDC per share)"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

Syenite

https://github.com/syenite-ai/syenite

1/7 registries
View full server →