'Given a dt, returns the next open.
If the given dt happens to be a session open, the next session\'s open
will be returned.
Parameters
dt: pd.Timestamp
The dt for which to get the next open.
Returns
pd.Timestamp
The UTC timestamp of the next open.'

def next_open(self, dt):

    idx = next_divider_idx(self.market_opens_nanos, dt.value)
    return pd.Timestamp(self.market_opens_nanos[idx], tz='UTC')
