I want you to create a simple automated trading program in any language (php or perl, make the most sense). The exchange allows API's w/ JSON for fetching pricing data and trading ([url removed, login to view]) so this should be rather simple.
The program should:
Fetch Pricing Data at a set interval, save that to some sort of database
Fetch Account Balance
Make a set of simple configurable calculations based upon database entries
Execute Orders based upon matching the several configurable conditions
Log actions taken
Run in windows (preferable, although not a requirement if this will be burdensome)
I'd basically like a transparent framework which i can configure the calculations and buy/sell conditions on my own.