MAINT: More precise extraction of returns from returns container.
MAINT: More precise extraction of returns from returns container.

Use slice to date, `[:dt]` instead of `pd.Series.valid` to extract
from returns containers.

Using `valid` lead to some confusion when debugging tests, because
it papers over missing data.

The use of `.valid` was based on the assumption that all values
from the zeroth date to the current algo date are populated,
with no trailing values.
`[:dt]` extracts the same data, but in a hopefully more precise
and explicit fashion.

gwulfs/zipline,nborggren/zipline,magne-max/zipline-ja,Scapogo/zipline,sketchytechky/zipline,euri10/zipline,erikness/AlephOne,chrjxj/zipline,zhoulingjun/zipline,michaeljohnbennett/zipline,dkushner/zipline,dmitriz/zipline,dmitriz/zipline,YuepengGuo/zipline,keir-rex/zipline,iamkingmaker/zipline,sketchytechky/zipline,wubr2000/zipline,jimgoo/zipline-fork,cmorgan/zipline,jimgoo/zipline-fork,quantopian/zipline,bartosh/zipline,chrjxj/zipline,enigmampc/catalyst,dkushner/zipline,keir-rex/zipline,magne-max/zipline-ja,enigmampc/catalyst,ChinaQuants/zipline,MonoCloud/zipline,CDSFinance/zipline,euri10/zipline,humdings/zipline,wilsonkichoi/zipline,Scapogo/zipline,stkubr/zipline,michaeljohnbennett/zipline,MonoCloud/zipline,AlirezaShahabi/zipline,florentchandelier/zipline,morrisonwudi/zipline,mattcaldwell/zipline,quantopian/zipline,ChinaQuants/zipline,semio/zipline,alphaBenj/zipline,otmaneJai/Zipline,StratsOn/zipline,joequant/zipline,florentchandelier/zipline,DVegaCapital/zipline,cmorgan/zipline,DVegaCapital/zipline,umuzungu/zipline,wubr2000/zipline,morrisonwudi/zipline,gwulfs/zipline,CDSFinance/zipline,StratsOn/zipline,semio/zipline,alphaBenj/zipline,ronalcc/zipline,grundgruen/zipline,dhruvparamhans/zipline,umuzungu/zipline,iamkingmaker/zipline,otmaneJai/Zipline,aajtodd/zipline,kmather73/zipline,jordancheah/zipline,dhruvparamhans/zipline,aajtodd/zipline,ronalcc/zipline,kmather73/zipline,mattcaldwell/zipline,stkubr/zipline,wilsonkichoi/zipline,joequant/zipline,humdings/zipline,grundgruen/zipline,AlirezaShahabi/zipline,bartosh/zipline,jordancheah/zipline,zhoulingjun/zipline,nborggren/zipline,erikness/AlephOne,YuepengGuo/zipline