'Given start and end session labels, return all the sessions in that
range, inclusive.
Parameters
start_session_label: pd.Timestamp (midnight UTC)
The label representing the first session of the desired range.
end_session_label: pd.Timestamp (midnight UTC)
The label representing the last session of the desired range.
Returns
pd.DatetimeIndex
The desired sessions.'

def sessions_in_range(self, start_session_label, end_session_label):

    return self.all_sessions[self.all_sessions.slice_indexer(start_session_label, end_session_label)]
