added sellAll and buyMax actions.