# coding=utf-8
from __future__ import print_function, absolute_import
from gm.api import *
set_token('fe6841a67b276016579e8fccbec500a486e9433e')
#获取沪深两市股票代码,返回list
data = get_instruments(exchanges='SZSE,SHSE', sec_types=1, fields='symbol',df=1)['symbol'].tolist()