R programming for quantitative investment: part 1 - fetch market da...