I assume the 'exchange' label (="the exchange the information was obtained from") represents the stock exchange where a particular stock is traded, as the parameter $exchange in
$quoter->fetch($exchange, @symbols);
is already known (="where do we fetch our stocks from").
How can I retrieve the 'exchange' label for a stock using Finance::Quote? It is on the label list at http://finance-quote.sourceforge.net/tpj/finance-quote-sidebar; however, I have noticed that label 'price' is not listed there and yet it is systematically returned. If I try using
require_labels(qw/name exchange success errormsg/);
then nothing is returned, which I suppose means that no (default) source can return that particular four label subset. I have tried using both 'yahoo' and 'nyse' as $exchange in
$quoter->fetch($exchange, @symbols)
to no avail.
Thank you for any help you can provide.
|