I keep noticing that the SQRT code I wrote recently for a POSIX shell keeps appearing, (the green colour sticks out like a sore thumb).
So I decided to take a look on Google.
Guess what?
UNIX.COM comes first in Google's listing just from two words, see image...
These 4 Users Gave Thanks to wisecracker For This Post:
Hi I just stumbled on to these forums today, and I relatively new to unix. I am trying to figure out how to find the square root of a number using a shell script. I am using bash and I have searched and searched but cannot figure out square roots. Hopefully someone can point me in the right... (3 Replies)
I have a site, www.mySite.com
I have a folder where pages are served from, htdocs/
I have a folder containing one site at htdocs/drupal/. I'd like to be able to go to www.mySite.com and see the index.php page within the drupal folder, but instead I see a directory listing:
drupal
phpBB3
... (9 Replies)
Hi All,
I have a text file which looks like this:
computer programming
systems engineering
I want to get rid of these square brackets and also the text that is inside these brackets. So that my final text file looks like this:
computer programming
systems engineering
I am using... (3 Replies)
I have a file with say 50 columns, each containing a whole lot of data.
Each column contains data from a separate simulation, but each simulation is related to the data in the last (REFERENCE) column $50
I need to calculate the RMS deviation for each data line, i.e. column 1 relative to... (12 Replies)
Hi Guys,
Is there any way that we can know whether a website is fullly loaded with Linux command line ?? is there any command in Linux that can achieve that ??
Also,naturally I would also like to get the response code of the particular website/URL that i am testing for ??
Any help would be... (3 Replies)
Q: "Does Cisco 1921 router support,, act as an endpoint for, site to site VPNs using IPSec? If so, how many? "
A: If you get the Cisco 1921/k9 with the security services bundle then it will have built in security features. Cisco, typically includes IP Sec tunnels I believe as part of that... (0 Replies)
Dear friend,
I know for a single case, this could be finished quickly with Excel. But if we have hundreds of files, we definitely want to do it with a script or a FORTRAN code. Since I have no knowledge of FORTRAN, I tried to work out a script to do it. The math is very simple. we chose one atom... (4 Replies)
Discussion started by: liuzhencc
4 Replies
LEARN ABOUT DEBIAN
finance::quotehist::google
Finance::QuoteHist::Google(3pm) User Contributed Perl Documentation Finance::QuoteHist::Google(3pm)NAME
Finance::QuoteHist::Google - Site-specific class for retrieving historical stock quotes.
SYNOPSIS
use Finance::QuoteHist::Google;
$q = Finance::QuoteHist::Google->new
(
symbols => [qw(IBM UPS AMZN)],
start_date => '01/01/1999',
end_date => 'today',
);
foreach $row ($q->quotes()) {
($symbol, $date, $open, $high, $low, $close, $volume) = @$row;
...
}
DESCRIPTION
Finance::QuoteHist::Google is a subclass of Finance::QuoteHist::Generic, specifically tailored to read historical quotes from the Google
web site (http://finance.google.com/).
Google does not currently provide information on dividends or splits.
Please see Finance::QuoteHist::Generic(3) for more details on usage and available methods. If you just want to get historical quotes and
are not interested in the details of how it is done, check out Finance::QuoteHist(3).
METHODS
The basic user interface consists of a single method, as shown in the example above. That method is:
quotes()
Returns a list of rows (or a reference to an array containing those rows, if in scalar context). Each row contains the Symbol, Date,
Open, High, Low, Close, and Volume for that date. Quote values are pre-adjusted for this site.
REQUIRES
Finance::QuoteHist::Generic
DISCLAIMER
The data returned from these modules is in no way guaranteed, nor are the developers responsible in any way for how this data (or lack
thereof) is used. The interface is based on URLs and page layouts that might change at any time. Even though these modules are designed to
be adaptive under these circumstances, they will at some point probably be unable to retrieve data unless fixed or provided with new
parameters. Furthermore, the data from these web sites is usually not even guaranteed by the web sites themselves, and oftentimes is
acquired elsewhere.
Details for Googles's terms of use can be found here:
http://www.google.com/accounts/TOS?loc=us
If you still have concerns, then use another site-specific historical quote instance, or none at all.
Above all, play nice.
AUTHOR
Matthew P. Sisk, <sisk@mojotoad.com>
COPYRIGHT
Copyright (c) 2007-2010 Matthew P. Sisk. All rights reserved. All wrongs revenged. This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
SEE ALSO Finance::QuoteHist::Generic(3), Finance::QuoteHist(3), perl(1).
perl v5.12.4 2010-06-07 Finance::QuoteHist::Google(3pm)