Closed (works as designed)
Project:
Stock API
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2009 at 13:17 UTC
Updated:
1 Mar 2010 at 22:14 UTC
The current symbol field is varchar(10) [ stockapi.install ] but it is not sufficient for symbols like BSE-MIDCAP.BO . Never found symbol more than 15 letters, but think it should be made varchar(30) [ 2*15 ] for safety. Otherwise stock module won't show results for such symbols.
This is my first issue, sorry if this not according to norms.
Comments
Comment #1
torgospizzaI would also like to say, the same goes for the "name" field in the schema. For instance the name "Microsoft Corporation" is truncated to "Microsoft Corpora" when saved to the stockapi table.
Comment #2
fp commented@torgosPizza: I think though that the name is already truncated by Yahoo. For example: http://download.finance.yahoo.com/d/quotes.csv?s=MSFT&f=n
Comment #3
torgospizzaInteresting, I hadn't noticed that. Thanks! Will mark as By Design, in that case.