Implement the `onOrder` callback for live trading as part of issue #531.
Implement the
onOrdercallback for live trading as part of issue #531.