code: def onExitOk(self, position):
      self.printDebug(
          "exitOk: ",
          self.getCurrentDateTime(),
          position.getExitOrder().getExecutionInfo().getPrice(),
          position,
      )
      if position == self.__longPos:
          self.__longPos = None
      elif position == self.__shortPos:
          self.__shortPos = None
      else:
          assert False
  
imports: from .None import common
  from pyalgotrade import strategy
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade.technical import ma
  from pyalgotrade.technical import cross
label_desc: Use image node_id 10 for calling the SMACrossOverStrategy obj's underlying member method code with example usage: obj.onExitOk(position) without return types