Middleware for CXTradeAPI, including both Android and IOS interface.