for example it state that -0.73 is greater than -0.65 ( wrong , it is smaller )
here is an example of how this calculation screw my calculation:
Strategy 92.14.45 calculation of the FIlter: RET/DD -0.73 Is Greater than -0.65 = TRUE , the strategy pass the condition.
But it is false -> should have failed, -0.73 is less than -0.65 ( at least for excel )
I also checked on line on some Math website and they report same as excel.
Could u please check this out?
Status changed from New to Waiting for information
The problem was in Filtering logic. What do you mean that it is related also to BB ? Can you provide more info or printscreen where I can see the problem ?
But i see same issued also on other comparison , for example NotEquals !
So i would check athe whole lines in java that have round function.
ChatGPT wrote that the issue is there, we need to remove the round function.
Could i ask how the code of the FIlter was before the fix since we can not see that code? and how it is now?
Best.
Status changed from Waiting for information to Fixed
Attachment image-0.png added
It was miscalculated
if(value>=0) {
value = value * ((double)pctRatio/100);
} else {
value = value / ((double)pctRatio/100);
}