port and test p2ptrade ewctrl