Please read thoroughly the FAQ   and   the Average Cost Computation Service User Guide