modify scripts
This commit is contained in:
@ -56,13 +56,19 @@ def get_stock_by_fs():
|
||||
save_to_csv(df, config.global_host_input_dir, f"em_index_all.csv")
|
||||
return df
|
||||
|
||||
# 东财-概念板块成分股
|
||||
def get_stock_by_xx(sy):
|
||||
df = ak.stock_board_concept_cons_em(symbol=sy)
|
||||
save_to_csv(df, config.global_host_input_dir, f"em_{sy}.csv")
|
||||
|
||||
def refresh_main_index():
|
||||
#get_csindex(symbol='000300')
|
||||
#get_csindex(symbol='000510')
|
||||
#get_sina_index_stock(symbol='000300')
|
||||
#get_ah_stock()
|
||||
#get_hk_ggt_components()
|
||||
get_stock_by_fs()
|
||||
#get_stock_by_fs()
|
||||
get_stock_by_xx('半导体概念')
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user