What would be the best way to query more data fields from yahoo?
For example, I would like to query '52 weeks high' as well ('k' in the field list). For this to work I need to change the module code and the underlying table. Would you accept this kind of patch? I wouldn't want to change the module code on my local install, but didn't find a better way for this either.
Comments
Comment #1
kbahey commentedYes, I would accept such a patch.
Here is my current thinking on that:
Ideally, there would be a list of fields that are available (current ones plus the new ones you add) and the admin would enable the fields she wants. They are retrieved and become visible from that setting.
The database table should have all the fields and they are populated only if retrieved. Or perhaps retrieve and populate all the fields regardless, and display only the ones the admin selects.
Comment #2
yhager commentedok, thanks.
I'll see if I can work on that, and update here if I do.
Comment #3
matt westgate commentedAll possible fields from Yahoo! have now been added to the database schema. On the stockapi settings page you can choose which set of fields you wish to use: basic, extended, or real-time if you have a paid account with Yahoo!
Comment #4
yhager commentedWooHoo!
Thanks :)
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.