Requirements: 1. Set-up ActiveQuant http://www.activequant.org/?q=node/210 Make it work with Opentick and Yahoo Finance, save Historical Data in a database. 2. Create XML API to accept instructions for backtesting in XML format (see attached xml file for sample instructions). The API you create will ensure that it's possible to use Technical Indicators, Date/Time variables, check current positions, and so on. Pretty much everything to make a good trading algorithm. 3. This is how input and output should work: - When Program is idle, it should check for a new XML task every 5 minutes (interval and url set in ini): http://myserver.com/tasks.php (see attached xml file for sample input) -When backtesting is compelete, output should be POSTed to http://myserver.com/ready.php?task-ID=xxx (task-ID is the first line of the XML file) 4. This is what the output should contain: Output examples- A. TRADE LIST pos_id cond_id symbol type date shares price comm amount balance% 1 b1 INTC Buy 10/5/2004 12:00:00 AM 1 19.6781 0.0000 -19.6781 99.01 1 s1 INTC Sell 12/13/2006 12:00:00 AM 1 20.2344 0.0000 20.2344 102 *cond_id is the number of condition set in the xml input file that triggered buy/sell action (b=buy, s=sell, pt=profit target) B. DAILY EQUITY PERCENT time balance% 2008-01-01 100% 2008-01-02 99.001% 2008-01-12 101.22% *do not output every single day, but only days when balance changed C. ERRORS Type Symbol Message Invalid Data ASD 2007-Nov-28: volume 0