more stuff

This commit is contained in:
Jeff Carr 2022-11-02 19:48:52 -05:00
parent c23b3a2d94
commit 2b194b8c09
3 changed files with 17 additions and 0 deletions

0
DOCN-institutional-holders.py Normal file → Executable file
View File

0
all-securities.py Normal file → Executable file
View File

17
all-stock-exchanges.py Executable file
View File

@ -0,0 +1,17 @@
#!/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)
city = 'New York'
country = 'UNITED STATES OF AMERICA'
country_code = 'US'
page_size = 1000
response = intrinio.StockExchangeApi().get_all_stock_exchanges(city=city, country=country, country_code=country_code, page_size=page_size)
print(response)