Rewrite the example R/S-Plus code in 《Analysis of Financial Time Series》 to Python code Data are downloaded from Prof.Tsay's website