Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 221900fae6684388d6af206f5a49f6f8 > files > 10

wmstock-0.11-2mdk.i586.rpm

** see INSTALL for installation instructions **

** see man page for usage **


	I cant think of anything real important here, but here are answers to
a few questions I have received so far.

	1)  The data is delayed 20 minutes.  This is because Yahoo and most
free stock quote sites do this because of market rules, etc.  On that note
I get my data from http://quote.yahoo.com or the Yahoo Stock Quote service. (see
note below).  I do this because they have an option to download only data 
without HTML which means I can download 150 bytes vs. 5000 bytes.  No big deal 
for me but for modem users with fast update settings it could be a problem. 
 Also Yahoo is a stable service.  If anyone feels brave they can write another
PERL script that gets data from another place (perhaps real-time), and send it
to me.  It must conform to my data file format (see the ~/.wmstock directory).

** When Yahoo has taken the quotes offline, which has happened about 2 times
in the past year that I have seen, wmstock will report that a stock is a 
bad ticker.  There is no easy way to distinguish between a bad ticker
and Yahoo's own confusion.  If you see the BAD TICKER message and suspect that
you are correct, go to http://quote.yahoo.com and try your ticker there.
If Yahoo is having problems, they are usually fixed within a few hours.


	2)  International Tickers...  Whatever Yahoo can show, I can.  I 
dont really know any major international stocks that I could test with,
so I really don't.  So your stock might not work.  But, it should work
for Canadian (Toronto Exchange) stocks.  The table below will tell you
how to access your stock, but it is very incomplete.  If you get a quote
from your corner of the world, working or not, let me know.

	Exchange	   Suffix	Example Ticker
	--------           ------       --------------
	Toronto		   TO		MFC.TO

	3)  Indexes...  If you want to track market indexes, there are weird
symbols to track them.  This is not my data source's fault...
	
	Index				Ticker
	-----				------
	NASDAQ Composite		 ^IXIC
	DOW Jones Average		 ^DJI
	S&P 500				 ^SPI

	Note that Yahoo does not report volume for the Dow Jones or the
NASDAQ comp like it would for a normal ticker symbol.  The volume is actually
tracked by another symbol.

	4)  A suggestion.  I do not delete old data unless you re-use the quote,
so if you look up a quote for SUNW there will be a sunw.dat file in ~/.wmstock
until you remove it.   If you look it up again, it will be deleted, but then
rewritten.  So basically what I am saying here is if you really care, go 
clear out ~/.wmstock every once in awhile.  

*** Afterstep *****************************************************************
In order to dock this app with Afterstep, add this line to your
wharf file.  You can choose either of these 2 to modify.

System wide:
 /usr/local/share/afterstep/wharf
or per user:
~/GNUstep/Library/AfterStep/wharf

*Wharf wmstock nil Swallow "wmstock" wmstock -s SUNW AOL &

(thanks to David Bestor <bestord@indenial.com> for this one)

*** Free BSD ****************************************************************

Will Andrews <andrews@technologist.com> is porting this app to FreeBSD.

The porting is complete.  I am attaching Will's email verbatim...

(from Will Andrews)
BTW, I submitted a port to ports@FreeBSD.ORG -- Myself and Thomas Gellekum
<tg@FreeBSD.ORG> decided to use fetch(1) instead. Fetch is a standard FreeBSD
program that is in the OS source code (/usr/src/usr.bin/fetch). This will
remove the dependency on lynx and any/all dependencies completely (well, aside
from Xpm libraries.. I meant program dependencies)! :-)

The port should be committed sometime tonight or tomorrow. You can put a link
to it if you like --
        ftp://ftp.FreeBSD.ORG/pub/FreeBSD/ports/ports/misc/wmstock.tar

Note -- this will download the port tarfile, not the actual program itself.
FreeBSD users will need to have an installed Ports Collection to use the
wmstock port for install wmstock.


******************************************************************************

***If you are behind a firewall***********************************************

You will need to add some environment variables to get wget to work.   
At the minimum you will need to set the variable HTTP_PROXY as follows:

tcsh, csh, and equivs...
setenv http_proxy "my_proxy_server:proxy_port"

bash, sh, and equivs...
export http_proxy="my_proxy_server:proxy_port"

You will need these in a .cshrc or .bashrc file, just setting them in a
shell is not sufficient.

Verify wget works before contacting me...  (do this by the following)
wget http://www.yahoo.com

make sure it downloads index.html.  if it doesnt, either Yahoo is down or
your environment variables aren't set.

******************************************************************************

If you have any questions/comments/whatever please email me:
mfischer@umr.edu (Matt Fischer).

This is my first WM app, and my first "real" App that I am releasing to the
world.  Be gentle.  

								-mlf

								10-28-1999