Closed (works as designed)
Project:
Stock API
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2009 at 13:06 UTC
Updated:
5 Feb 2018 at 11:55 UTC
Jump to comment: Most recent
Comments
Comment #1
bluecaleb commentedYes, I would like this functionality too... Does anyone know how to add this field to stock api and display it with the stock module? I tried adding the "p2" field (I got that info here: http://ilmusaham.wordpress.com/tag/stock-yahoo-data/ )to line 83 on the stock api module, then I added this;
'change_percent' => array(
'description' => t('Percent of change'),
'type' => 'float',
'not null' => TRUE,
'default' => 0.0,
),
to line 79 in the stockapi.install file, then I referenced that field in the stock module, however its not working... I suck at php, so I was wondering what else I have to change to be able to add additional fields to be fetched from yahoo using the stock api module and display them with the stock module...
Thanks,
Caleb
Comment #2
joseph.olstadPlease upgrade to 7.x-2.x
This works in latest version