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.
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 |