Hello, the algorithm created in the Liquid Value Stocks bootcamp doesn't include any market order code, so I tried adding it myself, but when I try to backtest it, I encounter this error:

 

Runtime Error: Value cannot be null.
Parameter name: source (Open Stacktrace)

I attached the code with the post; any help would be great, thanks!