A signal generation library for quantitative trading in R