public static BigDecimal roundPrice(BigDecimal price,BigDecimal ticksize){
  return roundPrice(price,ticksize,ticksize.scale());
}

public static BigDecimal roundPrice ( BigDecimal price , BigDecimal ticksize ) { return roundPrice ( price , ticksize , ticksize . scale ( ) ) ; }
rounds the specified price to the specified tick size
