def event_counts(self, summarize_by, **kwargs):
        return self._query('event-counts',
                           summarize_by=summarize_by,
                           **kwargs)
Override (optional) to get notified when the order submitted to exit a position was canceled. The default implementation is empty.
dataset/ETHPy150Open voxpupuli/pypuppetdb/pypuppetdb/api/__init__.py/BaseAPI.event_counts--crossover with--dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/strategy/__init__.py/BaseStrategy.onExitCanceled