GPEngine wrote:
In practice, order.setRequestedAmount() on a FILLED order will raise JFException even if amount is 0.0.
This will get updated, but why would you need to set the amount to 0 if it is 0 already?
GPEngine wrote:
If new amount is same as old amount, there is no reason to complain. It just means I need to add more logic to avoid a log flood.
It will not only avoid logging, but will make your strategy avoid making redundant method calls.