You're viewing a demo portfolio

Join the waitlist
PRSM

add_position

Active

Tool of SimpleFunctions

declared in 1.0.0

Record a new position in a thesis for tracking. Use after an intent fills or a manual trade.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "thesisId",
    "apiKey",
    "venue",
    "externalMarketId",
    "marketTitle",
    "direction",
    "entryPrice"
  ],
  "properties": {
    "size": {
      "type": "number",
      "description": "Position size (contracts)"
    },
    "venue": {
      "enum": [
        "kalshi",
        "polymarket"
      ],
      "type": "string",
      "description": "Exchange venue"
    },
    "apiKey": {
      "type": "string",
      "description": "SimpleFunctions API key. Get one at https://simplefunctions.dev/dashboard/keys"
    },
    "thesisId": {
      "type": "string",
      "description": "Thesis ID"
    },
    "direction": {
      "enum": [
        "yes",
        "no"
      ],
      "type": "string",
      "description": "Position direction"
    },
    "rationale": {
      "type": "string",
      "description": "Why this position"
    },
    "entryPrice": {
      "type": "number",
      "description": "Entry price in cents"
    },
    "marketTitle": {
      "type": "string",
      "description": "Human-readable market name"
    },
    "externalMarketId": {
      "type": "string",
      "description": "Market ticker"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

SimpleFunctions

https://github.com/spfunctions/simplefunctions-cli

2/7 registries
View full server →