Greetings. I am running a simple backtest in Python, and in my code I have a scheduler run every 30 minutes. In the callback, I use the SetHoldings() method to define my exposure to a stock. When I downloaded my Trades Summary, I often times see a price of 0 for the execution (which is wrong) along with various numbers of shares (which are incorrect amounts as well). Furthermore, the Order Type shows a number 4 when this happens (versus a number 0 when the buy or sell order successfully completes). The Status column also shows the number 0 instead of ``Filled''. What are these different values, and why would the SetHoldings method fail in such a way? Thank you.

Author