Check for invalid characters in ticker symbol
Replaced inappropriate use of constant