Skip to content

Instantly share code, notes, and snippets.

@adxrgh
Created May 2, 2017 13:14
Show Gist options
  • Save adxrgh/d0749889ba04d24206d606de3d7743d7 to your computer and use it in GitHub Desktop.
Save adxrgh/d0749889ba04d24206d606de3d7743d7 to your computer and use it in GitHub Desktop.
[IO]wind引入代码及股票名 #tags:wind,code
import pandas as pd
from pandas import DataFrame
fro WindPy import *
w.start
###
t1=w.wset('sectorconstituent','date=20170501;sector=全部A股')
a=DataFrame({'code':t1.Data[1],'name':t1.Data[2]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment