This is a python problem set originally written for the ARC winter-session program with the objective of exploring the difference in implementation as well as performance between one-pass and two-pass algorithms. Here we implement algorithms to calculate the SMA (simple moving average) and EMA (exponential moving average) of a fictitious stock.