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