def get_history_data(self):
bar_path = 'e:\600036.csv'
history_data = pd.read_csv(bar_path)
for index, row in history_data.iterrows():
step = 0.01
arr = np.arange(row['open'], row['high'], step)
arr = np.append(arr, row['high'])
arr = np.append(arr, np.arange(row['open'] - step, row['low'], -step))
arr = np.append(arr, row['close'])
dt = parser.parse(row['datetime'])
i = 0
tick = []
for item in arr:
tick.append(((dt + timedelta(seconds=1 * i)) , item))
i += 1
arr = np.arange(row['open'], row['high'], step)
ValueError: arange: cannot compute length