The CSV parsing code doesn't handle fields with embedded commas (e.g. "S&P 500 INDEX,RTH") and try to split the field, which results in bad data being returned and saved on the DB.
Try it for yourself with the S&P 500 index, code ^GSPC
The attached patch fix this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| stockapi-csvfix.patch | 832 bytes | flaviovs |
Comments
Comment #1
kbahey commentedCommitted to 5.x and HEAD.
Should be available in the 5.x-dev branch soon.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.