refactored ind mtn to a base class for reuse of main buy sell logic