Here's a new version of https://www.quantopian.com/posts/batch-transform-version-of-scikits-learn-example-finding-co-fluctuating-stocks, using the history API. There's more work to do, but it is running so I thought I'd share it in case someone wants to play around. See the log output for the results.
Comments and improvements welcome!
Grant