finance::quote::financecanada(3pm) [debian man page]
Finance::Quote::FinanceCanada(3pm) User Contributed Perl Documentation Finance::Quote::FinanceCanada(3pm)NAME
Finance::Quote::FinanceCanada - Obtain stock and mutual fund prices from finance.canada.com
SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new;
# Can failover to other methods
%quotes = $q->fetch("canada", "stock_fund-code");
# Use this module only
%quotes = $q->fetch("financecanada", "stock_fund-code");
DESCRIPTION
This module obtains information about Canadian Stock and Mutual Funds from finanace.canada.com. The information source "canada" can be
used if the information source is unimportant, or "financecanada" to specifically use finance.canada.com.
STOCK_FUND-CODE
Canadian stocks/mutual funds do not have a unique symbol identifier. This module uses the symbols as used on finance.canada.com. The
simplest way to fetch the ID for a particular stock/fund is to go to finance.canada.com, search for your particular stock or mutual fund,
and note the symbol ID. This is helpfully provided by the site in their returned HTML quote.
LABELS RETURNED
Information available from financecanada may include the following labels:
method source name symbol currency date nav last price
SEE ALSO
Finance Canada.com website - http://finance.canada.com/
Finance::Quote
perl v5.14.2 2012-05-06 Finance::Quote::FinanceCanada(3pm)
Check Out this Related Man Page
Finance::Quote::Yahoo::USA(3pm) User Contributed Perl Documentation Finance::Quote::Yahoo::USA(3pm)NAME
Finance::Quote::Yahoo::USA - Obtain information about stocks and funds in the USA and Canada.
SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new;
%info = $q->fetch("usa","SGI");
DESCRIPTION
This method provides access to financial information from a number of exhcanges in the United States and Canada. The following methods are
available:
canada
usa
yahoo
nyse
nasdaq
vanguard
fidelity
These methods all use the same information source, and hence can be considered somewhat interchangable. However, the method "yahoo" should
be passed to fetch if you wish to obtain information from any source that Yahoo tracks.
This method is loaded by default by Finance::Quote, although it can be explicitly loaded by passing the argument "Yahoo::USA" to
Finance::Quote->new().
Information returned by this module may be subject to Yahoo's terms and conditions. See http://finance.yahoo.com/ for more information.
LABELS RETURNED
This module returns all the standard labels that Yahoo provides, as well as the currency label. See Finance::Quote::Yahoo::Base for more
information.
BUGS
Yahoo does not make a distinction between the various exchanges in the United States and Canada. For example, it is possible to request a
stock using the "NYSE" method and still obtain data even if that stock does not exist on the NYSE but exists on a different exchange.
SEE ALSO
Yahoo Finance, http://finance.yahoo.com/
Finance::Quote::Yahoo::Base
perl v5.14.2 2014-03-03 Finance::Quote::Yahoo::USA(3pm)
What are the advantages of putting users into groups? I understand that in a corporate environment, you should create a group for each department. ie: putting finance employees into a finance group.
But are there any system advantages for doing that? How would it make it easier on the system... (3 Replies)
:confused: hi all,
i have csv file with three comma separated columns
i/p file
First_Name, Address, Last_Name
XXX, "456 New albany \n newyork, Unitedstates \n 45322-33", YYY\n
ZZZ, "654 rifle park \n toronto, canada \n 43L-w3b", RRR\n
is there any way i can remove \n (newline) from... (10 Replies)
I'm have some trouble, I'm doing some unix stuff for fun and I can't get something to work
I have a getquote.sh script:
wget "http://finance.yahoo.com/q?s=$1" -o /dev/null -O quote
echo `echo $1; egrep "Last Trade:" quote | cut -d ">" -f 3 | cut -d "<" -f 1`
to get the current trading price... (1 Reply)
dear all,
I am having problem writing a shell script to search datas in one file.
example of data stored in home/david/database.txt
database.txt:
------------
index name sex country
1 david m canada
2 cyntia f england
i wish to have a script to ask for user input,... (1 Reply)
how to get all name of EMP whose DEPT is finance....using AWK scripting
EMP AGE SEX DEPT SAL
ram finance
shyam admin
ravi r&d
rachna finance
do not use $1,$2.......... (1 Reply)
ex:
a file has :
122323
123456456
125656879
678989965t635
234323432
b has :
this is finance no.
this is phone no
this is extn
ajkdgag
idjsidj
i want the o/p as:
122323 his is finance no.
123456456 this is phone no
123456456 ... (4 Replies)
I have record having 10 fields and each field being printed on a new line, first line cotains name of exchange, 2nd line stock name, third line stock price, etc etc...
now i want to retrieve data only for a particular exchanged and that too only 2nd and 3rd row info...
NSE
RNRL
70
12
1... (1 Reply)
Dear Experts
My source file contains the symbol cloud (☁).
How do i replace this ☁ symbol whose Unicode value is 2601 in linux file with single quotes ?
Any help will be much appreciated.
Many thanks (4 Replies)
Hi,
I would like to change time zone Linux from IST to US/Canada but not getting the option , I have run the command setup -> timezone configuration but not getting the option of us/canada or pacific us/canada.
Please suggest.
Regards,
Manoj (1 Reply)
Hi All,
There is a link from were I usually search somthing and fetch the data from.
Is there any way to automate it through a script if I mention search criteria in a note pad.
I mean the script to search the content on the notepad and resutls should be placed into another file.
... (2 Replies)
I'm trying to parse the website, finance.yahoo.com/q?s=ge&ql=1, and retrieve the info between <span id="yfs_l84_ge">18.98</span>, so 18.98.
What would be the best way to go about this in a bash script?
Any help or suggestions will be much appreciated.
Thanks! (2 Replies)
I have a script that hits my website for stock quotes and pulls prices. currently it does this one by one until all the symbols have been pulled. I've solved for bandwidth issues by putting in a random 1-10 second sleep function, but this will take too long.
I know that I can do everything at... (2 Replies)