Jupyter Interactive Moonshot DEV orders gives NoneType

Following guidelines here.
It keeps prompting this error. Orders isn’t coming through properly.

AttributeError: ‘NoneType’ object has no attribute ‘drop’


image
I do have some logic in order_stubs_to_orders(), but toggled it on/off and it didn’t resolve.
image

None = no orders

For anyone else, it means my specific algo didn’t execute an order at the review_date parameter:

review_date=‘2020-08-03-11:00:00’

This did work:

self = spy1minStrategy()
allocations={“PAPER_ACCOUNT”: 1.0}
orders = self.trade(allocations, review_date=‘2020-07-22-16:00:00’)
prices = self.get_prices(start_date=‘2020-07-22’, end_date=‘2020-07-23’)