"""Test the index historical price endpoint.""" ...
assert isinstance(d, np.ndarray), "d should be a NumPy array" assert isinstance(l, np.ndarray), "l should be a NumPy array" assert d.shape[0] == l.shape[0] or d.shape[0] == l.flatten().shape[0], "d ...