'DEPRECATED: use ``data.history`` instead.'

@api_method
@require_initialized(HistoryInInitialize())
def history(self, bar_count, frequency, field, ffill=True):

    warnings.warn('The    `history`    method    is    deprecated.        Use    `data.history`    instead.', category=ZiplineDeprecationWarning, stacklevel=4)
    return self.get_history_window(bar_count, frequency, self._calculate_universe(), field, ffill)
