Basic error checking for stock quotes