def _test_fenshi_horizontal(self): code = jx.THS df = stock.getFenshiDfUseRedis(code, start_day='2017-12-1', end_day='2017-12-5') ui.drawFenshi(pl, df)
def _test_DrawTs(self): code = '300059' date = ['2016-1-1','2016-3-1'] fenshi = stock.getFenshiDfUseRedis(code, date[0],date[1]) print(fenshi) DrawTs(pl, ts=fenshi['p'])