I used toolbox to download yahoo finance data and inserted it into my algorithm. When I use SetHoldings, it does not enter into a position. 

 

 

Author