BUG: Better check for last date.
BUG: Better check for last date.

Use get_loc to find the trading day that ended 2 days before now.

wilsonkichoi/zipline,alphaBenj/zipline,magne-max/zipline-ja,Scapogo/zipline,umuzungu/zipline,quantopian/zipline,magne-max/zipline-ja,enigmampc/catalyst,alphaBenj/zipline,jimgoo/zipline-fork,umuzungu/zipline,florentchandelier/zipline,quantopian/zipline,humdings/zipline,dmitriz/zipline,grundgruen/zipline,wilsonkichoi/zipline,ChinaQuants/zipline,grundgruen/zipline,bartosh/zipline,jimgoo/zipline-fork,Scapogo/zipline,florentchandelier/zipline,bartosh/zipline,nborggren/zipline,nborggren/zipline,ChinaQuants/zipline,enigmampc/catalyst,dmitriz/zipline,humdings/zipline