Protect a holding
propose_hedgeProtect a crypto holding at a chosen price level with hedge strategies priced against live order books, revealing whole-position payoffs, protection limits, and cost as a share of the holding.
Instructions
Given a holding and the level they want protected, return ways to protect it, priced against the live book. Use this for 'I hold 5000 dollars of ETH and want to protect it', 'how do I put a floor under my BTC'. The payoff returned is the WHOLE position — the coin plus the options — not the options alone, which is the only honest way to show what protection does. Says plainly where each one stops protecting and what it costs as a share of the holding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| currency | Yes | ||
| protect_at | No | The price they want floored. Defaults to 10% below spot. | |
| coin_amount | No | How much of the coin they hold. | |
| horizon_days | No | How long they want protection for. Default 30. | |
| notional_usd | No | What the holding is worth today. Give this or coin_amount. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot | Yes | ||
| options | Yes | ||
| currency | Yes | ||
| rejected | Yes | ||
| protectAt | Yes | ||
| coinAmount | Yes | ||
| notionalUsd | Yes |