Skip to content

Latest commit

 

History

History
 
 

cn_index

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

CSI300/CSI100/CSI500 History Companies Collection

Requirements

pip install -r requirements.txt

Collector Data

# parse instruments, using in qlib/instruments.
python collector.py --index_name CSI300 --qlib_dir ~/.qlib/qlib_data/cn_data --method parse_instruments

# parse new companies
python collector.py --index_name CSI300 --qlib_dir ~/.qlib/qlib_data/cn_data --method save_new_companies

# index_name support: CSI300, CSI100, CSI500
# help
python collector.py --help