Message handling module. It supports queueing requests that need ok/fail response.It adds order to orders when order request is confirmed by server, deletes canceled order from orders hash when cancelation is confirmed by server, manages order hash, stocks hash, and money, etc. To customize response handling overload specific on_* method.
I 've added canceling orders. I've also incorporated MessagingHelper module into the agent.