Really quick problem to fix then i'll be posting this as my first finished algo in the forum.

When I run this algo at the current start date (10, 1, 17) the algo works,

but when I run this algo at (10, 2, 17) the algo gives this error:


Runtime Error: Python.Runtime.PythonException: AttributeError : 'NoneType' object has no attribute 'Price'