for sector in xtdata.get_stock_list_in_sector('概念指数'): detail = xtdata.get_instrument_detail(sector) name = detail["InstrumentName"] print(sector, name) secs = xtdata.get_stock_list_in_sector('TGN建筑节能') xtdata.download_history_data2(secs, period='1d', start_time="20201220")
barss = xtdata.get_market_data(stock_list=secs, count=10) print(barss)
举报
本版积分规则 发表回复 回帖后跳转到最后一页
1
0