for i in range(0, 15): if klines2.open.iloc[-1] ==klines4.open.iloc[-i]: h_p_c2 =klines4.high.iloc[-i] l_p_c2 = klines4.low.iloc[-i] quote = api.get_quote(SYMBOL)...
查看问题t1 = get_index_time(klines)#(这是个时间函数,计录开盘的第一分钟的ID) if t1<=15: t1_high1=max(klines1.high.iloc[-1:])#15分钟K线 t1_low1=min(klines1.low.iloc[-1:]) if t1>15:...
查看问题