Hi Does anyone know why my holdings flag is always False?  Or atleast its never true when the debug function triggers. 

Thanks in advance