Ejemplo n.º 1
0
 def _test_drawKlin(self):
     code = jx.THS
     df = stock.getHisdatDataFrameFromRedis(code)
     drawKline(pl, df, legend2=['成交量'])
Ejemplo n.º 2
0
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)