Noob - calculating VWAP from bars data

I built a sample trade off the bactrader example. I can show you how i got the data if you need. Here is the link: https://pastebin.com/Zx1bvN5n