what is the difference between weighted average and moving average?
Moving average is calculated after every transaction, and the calculation only takes current inventory status into consideration. Weighted average is calculated for all purchases in a given time period.