From 699bf111c5dcb8f26d2a900e043462e18400ee55 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Thu, 31 Dec 1998 03:40:34 +0000 Subject: [PATCH] updates git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1506 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/quotes/README | 36 ++++++------------------ src/quotes/{quote.pl => value_portfolio} | 1 - 2 files changed, 9 insertions(+), 28 deletions(-) rename src/quotes/{quote.pl => value_portfolio} (99%) diff --git a/src/quotes/README b/src/quotes/README index 408bb83f57..225a153850 100644 --- a/src/quotes/README +++ b/src/quotes/README @@ -1,31 +1,13 @@ -This directory contains a sample stock quote parsing script -from "Christopher B. Browne" +This directory contains assorted stock quote scripts. +value_portfolio is a stand-alone perl script for updating and printing + the value of a portfolio. To use this script, edit the the first + few lines at the top of the file to indicate your portfolio and + purchase price. + (from Christopher B. Browne, cbbrowne@hex.net) -From the mail archives ... - -> * From: Jeremy Collins -> -> I was experimenting with the ability to import quotes from the web, -> and -> noticed that yahoo has a feature to save your quotes to a spreadsheet -> file. Would this not make it easier to implement this or what? -> -> Here is an example of what the file would look like: -> -> "MSC",12.5625,"3/4/1998","1:37PM",+0.1875,12.4375,12.6875,12.25,23600 -> -> This is the URL that produced the above file... Just insert your own -> symbols and magic... you have a file with quote info in it. -> -> http://quote.yahoo.com/d/quotes.csv?s=msc&f=sl1d1t1c1ohgv&e=.csv -> -> Whatcha think? - -* From: "Christopher B. Browne" -sorta like the script that is attached? --- -Christopher B. Browne, cbbrowne@hex.net, chris_browne@sdt.com -Web: http://www.hex.net/~cbbrowne SAP Basis Consultant, UNIX Guy +getquotes.pl is a set of perl routines to fetch stock quotes from various + services. dervied from the above. Still under development. + diff --git a/src/quotes/quote.pl b/src/quotes/value_portfolio similarity index 99% rename from src/quotes/quote.pl rename to src/quotes/value_portfolio index b2f1f031dd..6de2906e56 100755 --- a/src/quotes/quote.pl +++ b/src/quotes/value_portfolio @@ -1,5 +1,4 @@ #!/usr/bin/perl -# real file name value_portfolio ####################################################################### # $Id$ # Looks up investment prices on the web, and builds a report