- class ApprovalModel#
A model that defines a checkpoint for trades before they are executd.
Approval can be get in various ways - CLI confirmation by human - Web interface confirmation by human - A third party automated risk management system
This function may wait forever and block the trade execution thread.
- confirm_trades(state, trades)#
This function may wait forever and block the trade execution thread. It is up to the approval internals to decide when to timeout and what to od in such situation.