hi,
thanks,
I am trying to write a condition that says:
matched back amount - matched lay amount is less than 25.00
or matched lay amount - matched back amount is less than 25.00
is it something like:
(bm_backa)-(bm_laya)<25
or (bm_laya)-(bm_backa)<25
is this the correct way to write it?
thanks
R
Hi
bm_backa and bm_laya are the last non-SP back matched amount and last non-SP lay matched amount on the selection. The conditions using these are as below:
selection's trigger expression bm_backa - bm_laya is less than 25
or selection's trigger expression bm_laya - bm_backa is less than 25
so if you wanted to do the calculation on the last trade you would use the above.
If you want to do the same for the total back matched amount and total lay matched amount on the selection:
selection's back_matched - lay_matched is less than 25
or selection's lay_matched - back_matched is less than 25