You're viewing a demo portfolio

Join the waitlist
PRSM

update_position

Active

Tool of SimpleFunctions

declared in 1.0.0

Update a position: current price, edge, size, status (open→closed). Use to mark positions as closed or update tracking data.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "thesisId",
    "positionId",
    "apiKey"
  ],
  "properties": {
    "edge": {
      "type": "number",
      "description": "Current edge in cents"
    },
    "size": {
      "type": "number",
      "description": "Updated size"
    },
    "apiKey": {
      "type": "string",
      "description": "SimpleFunctions API key. Get one at https://simplefunctions.dev/dashboard/keys"
    },
    "status": {
      "type": "string",
      "description": "open or closed"
    },
    "thesisId": {
      "type": "string",
      "description": "Thesis ID"
    },
    "rationale": {
      "type": "string",
      "description": "Updated rationale"
    },
    "positionId": {
      "type": "string",
      "description": "Position ID"
    },
    "currentPrice": {
      "type": "number",
      "description": "Current market price in cents"
    }
  }
}

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 →