POST api/Options/ProbabilityOfProfit
API endpoint: OptionsProbabilityOfProfit - ProbabilityOfProfit.
Request Information
URI Parameters
None.
Body Parameters
ProbabilityOfProfitRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| symbol | string |
None. |
|
| spotPrice | decimal number |
None. |
|
| netPremium | decimal number |
None. |
|
| targetExpiration | string |
None. |
|
| shortPutStrike | decimal number |
None. |
|
| shortCallStrike | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"symbol": "sample string 1",
"spotPrice": 2.1,
"netPremium": 3.1,
"targetExpiration": "sample string 4",
"shortPutStrike": 5.1,
"shortCallStrike": 6.1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |