In implementing VWAP, have realised that day_ended happens way before it
should. Need to investigate