[Quantian-general] capture output of smtm

Dirk Eddelbuettel edd at debian.org
Fri Apr 28 20:25:44 UTC 2006


On 28 April 2006 at 11:30, Anne York wrote:
| smtm (show me the money) is  Dirk's program to display 
| certain current information on stocks. The output appears in 
| a tcltk window. Is there a way to capture that output?

I suspect you would like to get the price data, rather than the rendering to
bits that perl-tk provides.  The data is fetched with Perl's
Finance::YahooQuote from Debian's libfinance-yahooquote-perl. See eg

$ man Finance::YahooQuote
$ man yahooquote
$ yahooquote IBM MSFT
$ yahooquote --verbose IBM MSFT

And remember that most of the data is 15 or 20 minutes delayed, depending on
the exchange.

Hope this helps,  Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



More information about the Quantian-general mailing list