class_docstr: TradingControl representing a limit on the number of orders that can be
  placed in a given trading day.
class_docstr_tok: ["TradingControl","representing","a","limit","on","the","number","of","orders","that","can","be","placed","in","a","given","trading","day","."]
code: def __init__(self, on_error, max_count):
      super(MaxOrderCount, self).__init__(on_error, max_count=max_count)
      self.orders_placed = 0
      self.max_count = max_count
      self.current_date = None
  
imports: import abc
  import logbook
  import pandas
  from six import with_metaclass
  from catalyst.errors import AccountControlViolation, TradingControlViolation
  from catalyst.constants import LOG_LEVEL
label_desc: Use image node_id 1 to create a new MaxOrderCount object from inherited base classes: TradingControl with example: obj = MaxOrderCount(on_error, max_count)