Plotting zipline algorithms with matplotlib

Dual Moving Average Crossover algorithm buys stock once its short moving average crosses its long moving average (indicating upwards momentum) and sells it once the averages cross again, indicating downwards momentum (source: zipline)

wow_002