Skip to main content

✂️ Haircut Template

Haircut Master Template is used to configure the haircut percentage for Collateral and CFS which will have Symbol, ISIN and Haircut%, and such basket can be mapped either against holding.

⚙️ Template Configuration

Control Name 📋Business Logic 📝
Template Name- Control Type: Drop-Down List + Entry Field
- System should allow to enter the Template Name
- Numeric, Character and allowed Special Characters are allowed to create the template Name
- Template Name should not be more than 20 characters
- Template Name list should be displayed in ascending order
- Duplicate template name creation should not be allowed
- System should sort the template names from the list on search of keyword
- System should fetch and display the available records in the Haircut basket grid view as per the template name selected in this field
- System should allow to create multiple Haircut basket template with different template name
- Member can create multiple templates for CFS and Collateral separately
Save- Control type: Button
- On click of SAVE button, Haircut Basket with Scrips added for the Template should get saved into the system
- Popup message should be displayed while on click of SAVE button without entering the template name. Popup String should be like "Template Name should not be blank"
- Minimum one ISIN Scrip with Haircut Percentage should be added while saving the template
- On click of 'SAVE' while creating a New template, System should display a popup message as "Are you sure you want to add this template 'Respective Template Name'" with 'YES' and 'NO' option in the popup window
- If Member clicks on YES, System should save the record and should display a Confirmation Message as 'Template Created Successfully'
- If Member clicks on NO, System should not save the record and data added in the grid view should remain unchanged
- On click of 'SAVE' after modification of a record detail in the template, system should display a confirmation message as "Are you sure you want to modify this Template + 'Respective Template Name'"
- If Member clicks on YES, System should save the record and should display a Confirmation Message as 'Template Modified Successfully'
- If Member clicks on NO, System should not save the record and data added in the view should remain unchanged
Save As- Control Type: Button
- "SAVE AS" option is used to create the copy of existing template with new template name with a small modification in the records available in the existing template (or) without any modification
- "Save As" option should get enabled after selecting the Existing template Name in the "Template Name" drop-down list
- On Click of "Save As" button, system should popup a child Window with label as "Template Name" and an entry field to enter the 'New template Name' with "OK" and "CANCEL" options
- If "OK" is selected, then new template should get saved into the system with all records available in the existing template, else if "CANCEL" is selected then Child window should get closed without saving the record
- System should validate the New template name with the existing templates available, if same name is entered, then system should popup an alert message as "Template Name Already Exists"

📝 Combination of Selection option to Add records to the Haircut Basket Template

Control Name 📋Business Logic 📝
Scrip- Control Type: Dropdown list (Count 2) - should be interlinked with ISIN
- Drop down list should consist of all the list of unique Underlying scrips of Equity segments
- On entering the Keyword of the symbol name, system should fetch and populate the list of Scrips available (i.e., on search of 'AC' – system should populate "ACC" or on search of "APO" - System should populate "APOLLOHOSP", "APOLLOTYRE")
- Scrip list should be displayed in ascending order
ISIN- Control Type: Dropdown list (Count 2) - should be interlinked with Scrip
- Drop down list should consist of all the list of unique ISIN of Underlying scrips of Equity segments
- On entering the Keyword of the ISIN, system should fetch and populate the list of ISIN available
- ISIN list should be displayed in ascending order
Hair %- Control Type: Entry field
- Only Numeric values are allowed to enter
- Percentage value should be defined in the range between 0.01 to 100
- No negative values are allowed to enter
ADD- Control Type: Button
- ADD button should get enabled only when Template name is Entered in the 'Template Name' drop-down field for new template or when any existing template is selected in the 'Template Name' drop-down list
- On Click of Add button, Selected options in the dropdown list like (Scrip/ISIN and Haircut Percentage) should be added to the Haircut basket grid view
- On Click of "Add", If Same combination record is already available in the system for the template, then system should display an alert Popup Window (i.e., Symbol/ISIN)
- Message string in popup window should be like "Record already available for Combination in the system - Do you want to replace?" with an option of "YES" and "NO"
- If Member selects the option as "YES", then system should modify the Record available in the selected template with the same combination
- If Member selects the Option as "NO", then system should not make any changes to the record available in the template and popup window should get closed
- ADD button should be renamed as 'MODIFY' when member double clicks on the record available in the grid as well as system should populate the respective 'Details' on concerned fields (i.e., Scrip/ISIN and Haircut %)

📊 Haircut Basket Grid View

Following columns should be displayed in the Grid view:

  • Scrip
  • ISIN
  • HairCut Percentage
  • Delete

📐 Calculation Example

Available Holding Quantity:

  • NSE-EQ-TCS
  • Quantity: 50
  • Price: 100
Coll Qty 📦Total Coll Value 💰Haircut % 📊Total Haircut Value 📉Collateral without Haircut Value 💵
50500020%10004000