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::Australia(3)			User Contributed Perl Documentation		       Finance::Quote::Yahoo::Australia(3)

NAME
Finance::Quote::Yahoo::Australia - Fetch Australian stock quotes via Yahoo. SYNOPSIS
use Finance::Quote; my $q = Finance::Quote->new; my %info = $q->fetch("yahoo_australia","BHP"); # Use this module only. my %info = $q->fetch("australia","BHP"); # Failover with other methods. DESCRIPTION
This module allows information to be fetched from Yahoo abouts stocks traded on the Australian Stock Exchange. Information about indexes (such as the All Ordinaries) are not available through this module, although if information is requested from the "australia" source then these will automatically failover to direct queries from the Australian Stock Exchange. This module is loaded by default on a Finance::Quote object, although it can be explicitly loaded by passing the argument "Yahoo::Australia" to Finance::Quote->new(). This module provides both the "australia" and "yahoo_australia" fetch methods. You should use the "australia" method if you wish to allow failovers to other sources, and "yahoo_australia" if you only want to obtain quotes from this module. Information obtained via this module is governed by Yahoo's terms and conditions, see http://au.finance.yahoo.com/ for more details. LABELS RETURNED
This module returns all the standard labels (where available) provided by Yahoo, as well as the currency label. See Finance::Quote::Yahoo::Base for more information. SEE ALSO
Yahoo Australia, http://au.finance.yahoo.com/ Finance::Quote::Yahoo::Base perl v5.12.1 2009-10-05 Finance::Quote::Yahoo::Australia(3)
All times are GMT -4. The time now is 08:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy