add stock calculation format