code refactoring, trader agent interface redefinition