def _test_drawKlin(self): code = jx.THS df = stock.getHisdatDataFrameFromRedis(code) drawKline(pl, df, legend2=['成交量'])
def test_drawKline(): code, start_day, end_day = '600100','','' df = stock.getHisdatDataFrameFromRedis(code, '', '') code = stock.getDapanCode(code) df_dp = stock.getHisdatDataFrameFromRedis(code, start_day, end_day) drawKline(pl, df_code=df, df_dp=df_dp)