When open QMT, needs to select “indepdent trading” option, then run this code will have effect
from xtquant import xtdata
print(xtdata.__file__)
s = xtdata.get_stock_list_in_sector('上证50')
print(s)
When open QMT, needs to select “indepdent trading” option, then run this code will have effect
from xtquant import xtdata
print(xtdata.__file__)
s = xtdata.get_stock_list_in_sector('上证50')
print(s)
Leave a Reply