class_docstr: Closes all positions on a strategy, pulls the capital into the parent
code: def __call__(self, target):
      if target.children and not target.bankrupt:
          target.flatten()
          target.update(
              target.now
          )  # Shouldn't be necessary. Need to fix in bt.
  
          if target.parent != target:
              capital = target.capital
              target.adjust(-capital, update=False, flow=True)
              target.parent.adjust(capital, update=True, flow=False)
  
      return False
  
imports: from copy import deepcopy
  from future.utils import iteritems
  from datetime import date
  import pandas
  import numpy
  import bt
label_desc: Use image node_id 1 for calling the ClosePositions obj's underlying member method code with example usage: obj.__call__(target) and returns: False