def onRpcOrderRtn(rpcOrderRtn):
     ClientTradeCacheService.storeOrder(rpcOrderRtn.order)
     StrategyEngine.onOrder(rpcOrderRtn.order)
 def onRpcOrderListRtn(rpcOrderListRtn):
     for order in rpcOrderListRtn.order:
         ClientTradeCacheService.storeOrder(order)
         StrategyEngine.onOrder(order)