Question: how does vwap algorithm work?
Answer: VWAP is calculating the sum of price multiplied by volume, divided by total volume. A simple moving average is calculated by summing up closing prices over a certain period (say 10), and then dividing it by how many periods there are (10). Volume is not factored in.