PRICE RANGE SETTINGS FOR CO OR BO
This API retrieves the price range and validation parameters applicable for Cover Orders (CO) and Bracket Orders (BO). The response includes upper/lower price limits, tick size, trigger price validations, DPR validations, and profit price range configurations.
📌 Moneyness Values
The moneymode parameter indicates the strike price position relative to the ATM strike.
| Strike Price Position | moneymode |
|---|
| ATM | 1 |
| ATM + 1 | 2 |
| ATM - 1 | 3 |
| Deep In The Money | 4 |
| Deep Out Of The Money | 5 |
| ATM + 2 | 6 |
| ATM - 2 | 7 |
| ATM + 3 | 8 |
| ATM - 3 | 9 |
| ATM + 4 | 10 |
| ATM - 4 | 11 |
| ATM + 5 | 12 |
| ATM - 5 | 13 |
🔗 Path Parameters
| Parameter | Type | Required | Description | Example |
|---|
| tenantid | string | Yes | Unique id provided for the tenant by SIPL | "tenant001" |
| exchangeSegment | integer | Yes | Exchange Segment ID | 1 |
| scripToken | integer | Yes | Scrip Token | 1594 |
| instrument | string | Yes | Instrument Type | "EQUITIES" |
| symbol | string | Yes | Trading Symbol | "INFY" |
| series | string | Yes | Series | "EQ" |
| expiryDate | string | Yes | Expiry Date | "NA" |
| strikePrice | string | Yes | Strike Price | "-" |
| optionType | string | Yes | Option Type | "NA" |
| moneymode | string | Yes | Moneyness Value | "1" |
| productCode | string | Yes | Product Code (B = Bracket Order, C = Cover Order) | "B" |
🔍 Query Parameters
| Parameter | Type | Required | Description | Example |
|---|
| userId | string | Yes | User ID (UCC) | "{{user_id}}" |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Request payload format | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description |
|---|
| status | boolean | Status of API call |
| result | object | Price range and validation parameters |
📦 Result Object Fields
| Field | Type | Description |
|---|
| nHighPriceRange | integer | Upper price range in paise |
| nLowPriceRange | integer | Lower price range in paise |
| nDecimalLocator | integer | Decimal locator for price conversion |
| PriceTick | integer | Tick size in paise |
| nMinDiffLimitPricePercentage | integer | Minimum percentage difference between LTP and Limit Price |
| nMinDiffTriggerPricePercentage | integer | Minimum percentage difference between LTP and Trigger Price |
| nDPRValidationOn | integer | DPR validation flag |
| nDPRPercentage | integer | DPR percentage |
| ExpiryValue | string | Expiry value |
| StrikePriceValue | string | Strike price of the contract |
| nBasePrice | integer | Base price |
| nTradingAllowed | integer | Sum of trading-allowed exchange segment IDs |
| nMinDiffLimitTriggerPricePercentage | integer | Minimum percentage difference between Limit Price and Trigger Price |
| nProductType | integer | Product Type ID |
| nProfitPricePercentage | integer | Percentage difference between LTP and Profit Price |