create_strategy
ActiveTool of SimpleFunctions
declared in 1.0.0
Set up automated trading: define entry price, stop loss, take profit, and LLM-evaluated soft conditions. The heartbeat engine checks conditions every 15 min and executes when met.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"thesisId",
"apiKey",
"marketId",
"market",
"direction"
],
"properties": {
"apiKey": {
"type": "string",
"description": "SimpleFunctions API key. Get one at https://simplefunctions.dev/dashboard/keys"
},
"market": {
"type": "string",
"description": "Human-readable market name"
},
"horizon": {
"enum": [
"short",
"medium",
"long"
],
"type": "string",
"default": "medium",
"description": "Time horizon"
},
"marketId": {
"type": "string",
"description": "Market ticker e.g. KXWTIMAX-26DEC31-T150"
},
"stopLoss": {
"type": "number",
"description": "Stop loss: bid <= this value (cents)"
},
"thesisId": {
"type": "string",
"description": "Thesis ID"
},
"direction": {
"enum": [
"yes",
"no"
],
"type": "string",
"description": "Trade direction"
},
"rationale": {
"type": "string",
"description": "Full logic description"
},
"entryAbove": {
"type": "number",
"description": "Entry trigger: ask >= this value (cents, for NO direction)"
},
"entryBelow": {
"type": "number",
"description": "Entry trigger: ask <= this value (cents)"
},
"takeProfit": {
"type": "number",
"description": "Take profit: bid >= this value (cents)"
},
"maxQuantity": {
"type": "number",
"default": 500,
"description": "Max total contracts"
},
"softConditions": {
"type": "string",
"description": "LLM-evaluated conditions"
},
"perOrderQuantity": {
"type": "number",
"default": 50,
"description": "Contracts per order"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
SimpleFunctions
https://github.com/spfunctions/simplefunctions-cli
2/7 registries