|
|||
[ anders ] [ resume ] [ choppers ] [ projects ] [ netatalk ] [ route66 ] [ javascript ] [ webgallery ] [ mockMarket ] [ merits ] [ dailyBulletin ] [ panacea ] [ words ] [ pictures ] [ movies ] [ contact ]
|
the following are general requirements for running a mockMarket system. some
requirements quite possibly may be substituted with other peices of
software but i haven't tested with anything but what is listed here.
the distribution comes with a schema.sql file that will build the initial tables and default data. after setting the database up and copying the contents of WEB-INF/ to your system's WEB-INF/ directory, and adding the apropriate lines to your resin.conf (example is provided with the source) you should be able to start using the mockMarket system. to start automated trading, you should set up a crontab that launches the perl scripts at their apropriate intervals. these scripts use the Finance::Quote perl module to grab financial information from a variety of Internet resources and update the database accordingly. each night, a net worth calculation is done for all portfolios. currently group and user information must be hand entered. every so often, yahoo and other sources change the way they deliver delayed and historical quotes, therefore breaking the underlying perl modules that rely on them. stay current with the Finance::Quote and Finance::QuoteHist modules to mantain a running system. |
||