HFT study R-code backup