Sunday, June 05, 2011

Stocklytics has a historical stock price API

Very interesting that Stocklytics has a historical stock price API. I've been wanting to program a web based trend following system for a while now and it seems that this will be a tool that can let me do that. Very exciting! Unfortunately I'm slammed with other projects so I might have to wait a bit.

Here's what I would envision:

1. Determine a portfolio of stocks to trade through a web or mobile dashboard
2. Run a Cron job each day get historical prices for each stock from the Stocklytics API
3. Run a Cron job to run your algorithm on the historical prices
4. Run a Cron job to determine if a trade needs to be placed and send orders at a certain time to your broker through the broker's API.

No comments: