class_docstr: This policy cancels open orders at the end of the day.  For now,
  Catalyst will only apply this policy to minutely simulations.
  
  Parameters
  ----------
  warn_on_cancel : bool, optional
      Should a warning be raised if this causes an order to be cancelled?
class_docstr_tok: ["This","policy","cancels","open","orders","at","the","end","of","the","day",".","For","now",",","Catalyst","will","only","apply","this","policy","to","minutely","simulations",".","Parameters","--","--","--","--","--","warn_on_cancel",":","bool",",","optional","Should","a","warning","be","raised","if","this","causes","an","order","to","be","cancelled","?"]
code: def should_cancel(self, event):
      return event == SESSION_END
  
file_path: catalyst/catalyst/finance/cancel_policy.py
imports: import abc
  from abc import abstractmethod
  from six import with_metaclass
  from catalyst.gens.sim_engine import SESSION_END
label_desc: Use image node_id 2 for calling the EODCancel obj's underlying member method code with example usage: obj.should_cancel(event) and returns: unknown