Opsiyon Hesap Makinesi
Description
Opsiyonlar için delta, gamma, theta, kaldıraç, volatilite gibi değerleri hesaplar. Sonuçlar için 2 sorgu yapılır. İlk sorguda sadece varantın sembol kodu parametre olarak verilir ve buradan dönen sonuç, hesaplamalara dahil edilecek değerlerin son hali olur.
Endpoint
HTTP GET
Endpoint https://apitest.matriksdata.com/dumrul/v1/option-calculator
Query Parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| symbol | string | true | O_XU030E0821P1720.00 | Opsiyonun sembol kodu |
| referenceDate | date (YYYYMMDD) | false | 20210812 | Vadeye kalan gün bu paremetreye verilen değer üzerinden hesaplanır |
| underlyingValue | double | false | 1558.35 | Hesaplamaya dahil edilecek dayanak varlık değeri |
| volatility | double | false | 21.9 | Hesaplamaya dahil edilecek volatilite değeri |
| interestRate | double | false | 19.95 | Hesaplamaya dahil edilecek faiz oranı |
| currency | double | false | - | Currency değeri sadece döviz ilişkili enstrümanlarda kullanılır. İlk sorgu sonucunda currency alanı yoksa ikinci sorguya eklenmesine gerek yoktur |
Sample Request-Response
İlk Sorgu: https://apitest.matriksdata.com/dumrul/v1/option-calculator?symbol=O_XU030E0821P1720.00 İkinci Sorgu: https://apitest.matriksdata.com/dumrul/v1/option-calculator?symbol=O_XU030E0821P1720.00&referenceDate=20210812&underlyingValue=1558.35&volatility=21.9&interestRate=19.95
İlk sorgu sonucu:
{
"symbol": "O_XU030E0821P1720.00",
"referenceDate": "20210812",
"maturity": "20210831",
"underlyingValue": 1558.35,
"underlyingStep": 1,
"volatility": 21.9,
"volatilityStep": 0.25,
"interestRate": 19.95,
"interestRateStep": 0.1
}
İkinci sorgu sonucu:
{
"price": 145.14,
"instrinsicValue": 161.65,
"premium": -1.06,
"premiumPa": -20.36,
"delta": -0.96,
"gamma": 0.0011,
"theta": 0.7173,
"vega": 0.3108,
"omega": 10.31,
"leverage": 10.74,
"breakEvenPrice": 1574.86,
"sensitivity": -0.01,
"riskLevel": "RED",
"graph": [
{
"underlyingPrice": 935.0099999999999,
"optionPrice": 767.22,
"delta": -1,
"vega": 0,
"gamma": 0,
"theta": 0.9304
},
{
"underlyingPrice": 976.5659999999999,
"optionPrice": 725.66,
"delta": -1,
"vega": 0,
"gamma": 0,
"theta": 0.9304
}
]
}
Son güncelleme: 14 Temmuz 2026