Financial stock market quotes grabber & caching class

OUTDATED: This software is a PHP class to grab the latest stocks from Yahoo Finance, and to cache them optionally. To gather data regularly, you can use a crownjob. If you are using Linux type crontab -e on the shell. Then insert the following line (adapt the paths) to your crown file

* * * * * /usr/local/bin/php /home/marc/yahoo.stocks.class.php

and the cron-deamon will execute the script every minute, thus collecting the stock data.

To download the class click PHP Icon right here (do not forget to rename phps to php).

1 Response to “Financial stock market quotes grabber & caching class”


  1. 1 sake

    i am very interested in this script.
    I am a php newby and would like a detailed instruction on how to use it.
    first i make the changes in the php class (i get that much)
    but then what?
    i have seen your usage note in the php file but i have NO IDEA!
    what is cronjob?
    i am now using a test server (xampp on a windows machine)
    How should i use this class?
    hope ya read this.
    regards,
    sake

Leave a Reply