Automated Trading with R: Quantitative Research and Platform Development