I've been playing around with the tail hedge code provided in the most recent QC livestream on Youtube. After making some modifications, I'm getting some errors in the log I can't figure out. In an effort to drill down on the specific issue, I've deleted most of the code and really simplified it, such that now I just want it to allocate 90% of my portfolio and 10% in an option hedge on day 1. Just two trades and that's it, no rebalancing or liquidating positions. 

I'm getting an error message that there's a TypeError exception with SetHoldings. How do I correct this? Nothing I do seems to fix it. Your assistance is much appreciated.