Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal Commas in Stock Names Compromise CSV Output #88

Open
GoogleCodeExporter opened this issue Oct 12, 2015 · 0 comments
Open

Illegal Commas in Stock Names Compromise CSV Output #88

GoogleCodeExporter opened this issue Oct 12, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. Some stock names have commas in their names. For example Baidu Inc.
2. Try this query: 
http://download.finance.yahoo.com/d/quotes.csv?s=BIDU&f=nj1&e=.csv


What is the expected output? What do you see instead?

The expected CSV output should be "Baidu Inc.,73.99B". But your API returns 
"Baidu, Inc.,73.99B". The comma after Baidu is illegal in CSV format as it 
misleads the algorithms. This extra comma splits the line into 3 instead of 2 
fragments and instead of 73.99B I get ".inc" as MarketCap of Baidu.


Do you have other informations?
It is likely that there are more stocks in your DB having illegal commas in 
their names


Suggestions to fix the defect?
Please remove all commas in the Stock Names in the database

Original issue reported on code.google.com by [email protected] on 15 Apr 2015 at 10:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant