def onRpcTradeRtn(rpcTradeRtn):
     ClientTradeCacheService.storeTrade(rpcTradeRtn.trade)
     StrategyEngine.onTrade(rpcTradeRtn.trade)
 def onRpcTradeListRtn(rpcTradeListRtn):
     for trade in rpcTradeListRtn.trade:
         ClientTradeCacheService.storeTrade(trade)
         StrategyEngine.onTrade(trade)