Quant algorithm added