add multitrade class and control logic