update_strategy
Change your strategy: only the fields you pass change. change_note is required when entry/exit rules or recognition rules change (the changelog is public). rules = how Pitbi recognises this strategy's fills on your Decibel account, e.g. {"markets": ["BTC/USD", "ETH/USD"], "min_notional": 300, "max_notional": 700, "hours_utc": [{"from": "00:00", "to": "00:20"}], "order_type": "limit", "sides": "both"}. tag: optional order tag (1-6 lowercase letters/digits).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>",
"strategy_id": "<strategy_id>"
},
"name": "update_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| idea | No | ||
| name | No | ||
| rules | No | ||
| api_key | Yes | ||
| category | No | ||
| exit_rules | No | ||
| change_note | No | ||
| entry_rules | No | ||
| sizing_risk | No | ||
| strategy_id | Yes | ||
| delay_seconds | No | ||
| what_can_go_wrong | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||