Sponsored Content
Full Discussion: Stock script problems
Top Forums UNIX for Dummies Questions & Answers Stock script problems Post 302074546 by ranj@chn on Wednesday 24th of May 2006 02:48:08 AM
Old 05-24-2006
do this

Put the command getting the first word into the script itself.
Inside the script,
Code:
gawk '{ print $1 }' portfolio | while read line
do
 ./getquote.sh $line
done

 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What exactly is Stock Bit (t)

(yes i read the man page for chmod) and i did a basic search on the web. but it never really went into any info on it. the reason i ask is. when my systems receaves an email @ at certer user it has a specific mailer specified and that mailer writes stuff to /tmp well the orig. perms were... (3 Replies)
Discussion started by: Optimus_P
3 Replies

2. What is on Your Mind?

Did You Buy any Facebook IPO Stock at $38 a share?

Big day for FB. Did anyone manage to buy any of the IPO stock before the bell? (17 Replies)
Discussion started by: Neo
17 Replies
Finance::Quote::Yahoo::Asia(3)				User Contributed Perl Documentation			    Finance::Quote::Yahoo::Asia(3)

NAME
Finance::Quote::Yahoo::Asia - Fetch quotes from Yahoo Asia SYNOPSIS
use Finance::Quote; $q = Finance::Quote->new; %info = $q->fetch("asia","CREA.SI"); # Failover to other methods ok. %info = $q->fetch("yahoo_asia","CREA.SI"); # Use this module only. DESCRIPTION
This module fetches information from Yahoo Asia. Symbols should be provided in the format "SYMBOL.EXCHANGE", where the exchange code is one of the following: SI - Singapore BO - Bombay JK - Jakarta HK - Hong Kong NS - India KS - Korea KL - Kuala Lumpur NZ - New Zealand SS - Shanghai SZ - Shenzhen TW - Taiwan TH - Thailand This module provides both the "asia" and "yahoo_asia" methods. The "asia" method should be used if failover methods are desirable. The "yahoo_asia" method should be used you desire to only fetch information from Yahoo Europe. Stocks are returned in the currency of the local exchange. You can use Finance::Quote's set_currency() feature to change the currency in which information is returned. This module is loaded by default by Finance::Quote, but can be loaded explicitly by specifying the parameter "Yahoo::Asia" to Finance::Quote->new(). Information obtained by this module may be covered by Yahoo's terms and conditions. See http://sg.finance.yahoo.com/ for more details. LABELS RETURNED
This module returns all the standard labels (where available) provided by Yahoo. See Finance::Quote::Yahoo::Base for a list of these. The currency label is also returned. BUGS
The currency of each exchange has not been thoroughly confirmed. If you find an exchange is returning in an incorrect exchange, please use the bug tool at http://sourceforge.net/projects/finance-quote to report it. SEE ALSO
Yahoo Asia, http://sg.finance.yahoo.com/ Finance::Quote::Yahoo::Base perl v5.12.1 2009-10-05 Finance::Quote::Yahoo::Asia(3)
All times are GMT -4. The time now is 10:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy