code: def onIdle(self):
      if datetime.datetime.now() >= self.deadline:
          self.stop()
  
imports: import datetime
  from pyalgotrade import strategy
label_desc: Use image node_id 9 for calling the TestStrategyMixin obj's underlying member method code with example usage: obj.onIdle() without return types