{"action":"created","issue":{"url":"https://api.github.com/repos/waditu/tushare/issues/152","repository_url":"https://api.github.com/repos/waditu/tushare","labels_url":"https://api.github.com/repos/waditu/tushare/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/waditu/tushare/issues/152/comments","events_url":"https://api.github.com/repos/waditu/tushare/issues/152/events","html_url":"https://github.com/waditu/tushare/issues/152","id":164668173,"number":152,"title":"指数代码","user":{"login":"pittmiqi","id":5298031,"avatar_url":"https://avatars.githubusercontent.com/u/5298031?v=3","gravatar_id":"","url":"https://api.github.com/users/pittmiqi","html_url":"https://github.com/pittmiqi","followers_url":"https://api.github.com/users/pittmiqi/followers","following_url":"https://api.github.com/users/pittmiqi/following{/other_user}","gists_url":"https://api.github.com/users/pittmiqi/gists{/gist_id}","starred_url":"https://api.github.com/users/pittmiqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pittmiqi/subscriptions","organizations_url":"https://api.github.com/users/pittmiqi/orgs","repos_url":"https://api.github.com/users/pittmiqi/repos","events_url":"https://api.github.com/users/pittmiqi/events{/privacy}","received_events_url":"https://api.github.com/users/pittmiqi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-09T13:57:32Z","updated_at":"2016-09-21T19:08:27Z","closed_at":null,"body":"请问下面的指数的code是什么\r\n根据df = ts.get_index() 返回的值如下，但这些code显然是代表深圳股票，不是需要的指数。\r\n\r\n0   000001    上证指数  -1.13   4527.396   4476.215   4572.391   4432.904\r\n1   000002    Ａ股指数  -1.13   4744.093   4690.628   4791.534   4645.190\r\n2   000003    Ｂ股指数  -2.15    403.694    395.018    405.795    392.173\r\n3   000008    综合指数   0.79   3724.496   3753.906   3848.575   3695.817\r\n4   000009   上证380  -2.79   7689.128   7474.305   7695.329   7398.911\r\n5   000010   上证180  -1.13  10741.180  10619.610  10863.080  10529.900\r\n6   000011    基金指数  -1.02   7033.291   6961.659   7058.856   6918.273\r\n7   000012    国债指数   0.01    148.626    148.641    148.656    148.510\r\n8   000016    上证50  -0.79   3308.454   3282.330   3370.025   3255.769\r\n9   000017     新综指  -1.13   3826.013   3782.936   3864.307   3746.284"},"comment":{"url":"https://api.github.com/repos/waditu/tushare/issues/comments/248711761","html_url":"https://github.com/waditu/tushare/issues/152#issuecomment-248711761","issue_url":"https://api.github.com/repos/waditu/tushare/issues/152","id":248711761,"user":{"login":"ilovewengy","id":6312172,"avatar_url":"https://avatars.githubusercontent.com/u/6312172?v=3","gravatar_id":"","url":"https://api.github.com/users/ilovewengy","html_url":"https://github.com/ilovewengy","followers_url":"https://api.github.com/users/ilovewengy/followers","following_url":"https://api.github.com/users/ilovewengy/following{/other_user}","gists_url":"https://api.github.com/users/ilovewengy/gists{/gist_id}","starred_url":"https://api.github.com/users/ilovewengy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilovewengy/subscriptions","organizations_url":"https://api.github.com/users/ilovewengy/orgs","repos_url":"https://api.github.com/users/ilovewengy/repos","events_url":"https://api.github.com/users/ilovewengy/events{/privacy}","received_events_url":"https://api.github.com/users/ilovewengy/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T19:08:27Z","updated_at":"2016-09-21T19:08:27Z","body":"比如我使用 df=ts.get_h_data(\"000001\") \r\n获得的是平安银行的历史数据，而不是上证指数的历史数据。请问上证指数的代码是什么呢？\r\n我试过sh000001 但没有这个代码"}}
{"actor":{"display_login":"ilovewengy"}}