Implementation of a paper - "Forecasting ETFs with Machine Learning Algorithms" - Jim Kyung-Soo Liew and Boris Mayster Paper available at - https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2899520
Please make sure you use the csv files inside the cvs_files/ directory and point to the right path inside your q code.