Calculators
Cash-secured put yield API
Compute collateral (strike x 100), return on capital (premium/strike), annualized return to 365 days, effective purchase price (strike - premium), and discount to spot for a cash-secured put. Deterministic income math. Answers 'what's my cash-secured put yield','what price am I effectively buying at','what's the annualized return'.
Price$0.03per request
MethodPOST
Route/v1/calc/opt-cash-secured-put-yield
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
optionscash-secured-putcalcyieldincomeannualizedderivativestrading
API URL
Integration docshttps://x402.hexl.dev/v1/calc/opt-cash-secured-put-yieldExample request
{
"strike": 50,
"premium": 1.5,
"daysToExpiry": 30,
"stockPrice": 51
}Example response
{
"strike": 50,
"premium": 1.5,
"daysToExpiry": 30,
"collateral": 5000,
"premiumCollected": 150,
"returnOnCapitalPercent": 3,
"annualizedPercent": 43.2802,
"effectivePurchasePrice": 48.5,
"breakeven": 48.5,
"stockPrice": 51,
"discountToSpotPercent": 4.902
}Input schema
{
"type": "object",
"required": [
"strike",
"premium",
"daysToExpiry"
],
"properties": {
"strike": {
"type": "number",
"examples": [
50
]
},
"premium": {
"type": "number",
"examples": [
1.5
]
},
"daysToExpiry": {
"type": "number",
"examples": [
30
]
},
"stockPrice": {
"type": "number",
"examples": [
51
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}