HDTN-264884 - Futures price is wrong during auto price fixation after assiged futures and purchase contract

Issue No: CT-6330
Created 9/28/2021 12:17:00 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-264884 - Futures price is wrong during auto price fixation after assiged futures and purchase contract|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-264884]   1. Create a purchase contract with 4 lots   2. Create a futures trade with 4 lots and price is 193 USC/LB   !pastedImage_d170785_0.png|height=152,width=617!   3. Assign purchase contract and futures trade   !pastedImage_d170785_1.png|height=114,width=600!   Issue:   auto price fixed with 1.6 USD/LB,   !pastedImage_d170785_2.png|height=267,width=1001!   !pastedImage_d170785_3.png|height=194,width=600!   Expectation   Futures price should be 1.93 USD/LB.