You're viewing a demo portfolio

Join the waitlist
PRSM

update_strategy

Active

Tool of SimpleFunctions

declared in 1.0.0

Advanced: Update a trading strategy (stop loss, take profit, status).

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "thesisId",
    "strategyId",
    "apiKey"
  ],
  "properties": {
    "apiKey": {
      "type": "string",
      "description": "SimpleFunctions API key. Get one at https://simplefunctions.dev/dashboard/keys"
    },
    "status": {
      "type": "string",
      "description": "New status: active|watching|executed|cancelled|review"
    },
    "priority": {
      "type": "number",
      "description": "New priority"
    },
    "stopLoss": {
      "type": "number",
      "description": "New stop loss (cents)"
    },
    "thesisId": {
      "type": "string",
      "description": "Thesis ID"
    },
    "rationale": {
      "type": "string",
      "description": "Updated rationale"
    },
    "entryAbove": {
      "type": "number",
      "description": "New entry above trigger (cents)"
    },
    "entryBelow": {
      "type": "number",
      "description": "New entry below trigger (cents)"
    },
    "strategyId": {
      "type": "string",
      "description": "Strategy ID (UUID)"
    },
    "takeProfit": {
      "type": "number",
      "description": "New take profit (cents)"
    },
    "softConditions": {
      "type": "string",
      "description": "Updated soft conditions"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

SimpleFunctions

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

2/7 registries
View full server →