RMO fixed for jsim
fixed RMO for buy orders