Skip to content

Instantly share code, notes, and snippets.

@yongghongg
Created January 19, 2022 15:31
Show Gist options
  • Save yongghongg/45ee7ca3d0e40dcf89c143aa644a09d0 to your computer and use it in GitHub Desktop.
Save yongghongg/45ee7ca3d0e40dcf89c143aa644a09d0 to your computer and use it in GitHub Desktop.
# show a list of available index
index_list = ss.index_list
index_list
'''
index_list
[{'market': 'australia',
'abbreviation': 'au',
'indexId': 'XJO',
'indexName': 'S&P/ASX 200'},
{'market': 'america',
'abbreviation': 'us',
'indexId': 'UTY',
'indexName': 'PHLX UTILITY SECTOR'},
{'market': 'canada',
'abbreviation': 'ca',
'indexId': 'TSX',
'indexName': 'S&P/TSX COMPOSITE INDEX'},
{'market': 'belgium',
'abbreviation': 'be',
'indexId': 'SXXP',
'indexName': 'STOXX 600'},
{'market': 'america', ...}]
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment