The book by Chan is worth to read, as well as MATLAB code. I bought it my self too. However, there might be another alternative way to trade automatically. Try Selenium for web-crawling and siculi for screen automation. Both are introduced within last few years and most does NOT even know it.