[Mark to Market] - Gain/Loss is incorrect

Issue No: RM-2983
Created 5/28/2019 2:57:38 PM
Type Feature
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Looking at the basis gain/loss on contract 10281-1, it is calculated incorrectly.   The contract was sold at 0 basis, and the market is at -.03015. On a sale, that is a gain. This is coming through as a loss.   On sales, the gain/loss should be contract (0) - market (-.03015) to get a +.03015 * 1,8750,000 = 56,531.25 GAIN     !pastedImage_d119211_0.png|height=694,width=1878!     Accepted   !pastedImage_d119211_1.png|height=203,width=927!