also don't have access to this

This commit is contained in:
Jeff Carr 2022-11-03 03:13:52 -05:00
parent bcf3f2d6e6
commit e87f5e85d0
1 changed files with 16 additions and 0 deletions

16
get-all-etfs.py Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/python3
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('OjZjZGIzZmYyNDg4NDZjYjQ4NzAzMzAyZjg0OTU5MDcz')
intrinio.ApiClient().allow_retries(True)
exchange = 'XNAS'
page_size = 100
next_page = ''
response = intrinio.ETFsApi().get_all_etfs(exchange=exchange, page_size=page_size, next_page=next_page)
print(response)