Beispiel #1
0
 def get():
     from autoxd.warp_pytdx import getFive
     from autoxd.pinyin import stock_pinyin3 as jx
     code = jx.HWWH
     df = getFive(code)
     df = stock.TDX_BOLL_df(df)
     return df
Beispiel #2
0
 def fnSample(code, dtype='5'):
     from autoxd import warp_pytdx as tdx
     if dtype == '5':
         df = tdx.getFive(code)
         df = df.sort_index()
         return df
     if dtype == 'd':
         df = tdx.getHisdat(code)
         df = df.sort_index()
         return df
 def get_data():
     code = jx.HCGD
     df = tdx.getFive(code)
     return df