klines = api.get_kline_serial(symbol, 60 * 60) ma1 = tafunc.ma(klines.close, 1) ma20 = tafunc.ma(klines.close, 20) crossup = tafunc.crossup(ma1, ma20) crossdown = tafunc.crossdown(ma1, ma20)
查看问题klines = api.get_kline_serial(symbol, 60 * 60) ma1 = tafunc.ma(klines.close, 1) ma20 = tafunc.ma(klines.close, 20) crossup = tafunc.crossup(ma1, ma20) crossdown = tafunc.crossdown(ma1, ma20)
查看问题