update_strategy
ActiveTool 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"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
SimpleFunctions
https://github.com/spfunctions/simplefunctions-cli
2/7 registries