add error handling for no or wrong ticker