Quant Analytics scripts for R and Python