Updated `get-ticker` to throw error with invalid pair

If an invalid pair is used, the API will return a result of
"false". Updated the function to signal an error if this happens.