Made TradeEngine example work