Skip to content

Commit

Permalink
add csi800 and csiall
Browse files Browse the repository at this point in the history
  • Loading branch information
chenditc authored Dec 13, 2022
1 parent a906e4c commit f41a11c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qlib/dump_index_weight.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ def dump_all_to_sqlib_source(skip_exists=False):

index_map = {
"csi300" : "399300.SZ",
"csi500" : "000905.SH"
"csi500" : "000905.SH",
"csi800" : "000906.SH",
"csiall" : "000985.SH",
}

script_path = os.path.dirname(os.path.realpath(__file__))
Expand Down Expand Up @@ -49,4 +51,4 @@ def dump_all_to_sqlib_source(skip_exists=False):
pd.concat(result_df_list).to_csv(filename, index=False, header=False, sep='\t')

if __name__ == "__main__":
fire.Fire(dump_all_to_sqlib_source)
fire.Fire(dump_all_to_sqlib_source)

0 comments on commit f41a11c

Please sign in to comment.