Price one named structure
price_structurePrice a chosen option strategy at a given expiry against live order books. Use offset to push strikes further out of the money for cheaper structures.
Instructions
Price a specific shape at a specific expiry against the live book — use when the shape is already decided, or to compare a variant of something propose_trades returned. offset pushes every leg further out of the money (cheaper, needs a bigger move). Returns the same full detail as a proposal. Call list_strategies first if you need the shape ids.
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": {
"currency": "<currency>",
"strategy": "<strategy>"
},
"name": "price_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Strikes further from the money. Default 0. | |
| currency | Yes | ||
| strategy | Yes | Shape id from list_strategies, e.g. 'call-spread', 'iron-condor'. | |
| contracts | No | Size. Default 1. | |
| expiry_ts | No | Unix seconds, from list_expiries. Defaults to the nearest weekly. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| structure | Yes |