updated randomExample and randomTemplate

now compatible with string tickers