Skip to main content

Get Option Greek

Request to be POSTed to uri : /NorenWClientAPI/GetOptionGreek

Request Details :

Json FieldsPossible valueDescription
jData*Should send json object with fields in below list
jKey*Key Obtained on login success.
Json FieldsPossible valueDescription
exd*Expiry Date
strprc*Strike Price
sptprc*Spot Price
int_rate*Init Rate
volatility*Volatility
opttCE or PEOption Type

Example:

curl --location 'https://api.kambala.co.in/NorenWClientAPI/GetOptionGreek' \
--header 'Content-Type: text/plain' \
--header 'Authorization: Bearer ab2f4117bce53f6b6900c73eebe520468ceea148a3bc4423a973514150f3c415' \
--data 'jData={"exd":"21-02-2027", "strprc":"2", "sptprc":"3", "int_rate":"3", "volatility":"LTP"}

Response Details :

Response data will have below fields.

Json FieldsPossible valueDescription
statOk or Not_Oksuccess or failure indication.
request_timeThis will be present only in a successful response.
cal_priceCal Price
put_pricePut Price
cal_deltaCal Delta
put_deltaPut Delta
cal_gammaCal Gamma
put_gammaPut Gamma
cal_thetaCal Theta
put_thetaPut Theta
cal_rhoCal Rho
put_rhoPut Rho
cal_vegoCal Vego
put_vegoPut Vego

Sample Success Response :

{ "request_time":"17:22:58 28-07-2021", "stat":"OK", "cal_price":"1441", "put_price":"0.417071", "cal_delta":"0.997304", "put_delta":"-0.002696", "cal_gamma":"0.000001", "put_gamma":"0.000001", "cal_theta":"-31.535015", "put_theta":"-31.401346", "cal_rho":"0.000119", "put_rho":"-0.016590", "cal_vego":"0.006307", put_vego":"0.006307" }

Sample Failure Response :

{ "stat":"Not_Ok", "emsg":"Invalid Input : jData is Missing." }