HDTN-270143 - Futures Price is incorrect after slicing it in the derivative screen

Issue No: RM-4561
Created 2/16/2022 3:08:17 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-270143 - Futures Price is incorrect after slicing it in the derivative screen |https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-270143]   Steps:   1. Open a derivative entry   2. Create a new futures trade with {color:#1f497d}1.4187 {color} USD/LB   !pastedImage_d179683_0.png|height=164,width=600!   2. Click on Slice button and enter roll cost is {color:#1f497d}0.0275 {color}   !pastedImage_d179683_1.png|height=292,width=383!   Issue:   1. Price shows as "1.45" instead of "{color:#1f497d}1.4187" {color}in the slice window.   2. Price computed incorrectly for the sliced new futures trade with "1.45" instead of "{color:#1f497d}1.4462 {color}"   !pastedImage_d179683_2.png|height=174,width=600!   Expectation   1. Price should show 1.4187 in the slice window   2. Price should be 1.4462 for the sliced new futures trade   !pastedImage_d179683_3.png|height=173,width=319!