33 lines
1.1 KiB
Python
Executable File
33 lines
1.1 KiB
Python
Executable File
#!/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)
|
|
|
|
active = True
|
|
delisted = False
|
|
code = ''
|
|
currency = ''
|
|
ticker = ''
|
|
name = ''
|
|
composite_mic = ''
|
|
exchange_mic = ''
|
|
stock_prices_after = ''
|
|
stock_prices_before = ''
|
|
cik = ''
|
|
figi = ''
|
|
composite_figi = ''
|
|
share_class_figi = ''
|
|
figi_unique_id = ''
|
|
include_non_figi = False
|
|
page_size = 10000
|
|
primary_listing = ''
|
|
next_page = ''
|
|
|
|
response = intrinio.SecurityApi().get_all_securities(active=active, delisted=delisted, code=code, currency=currency, ticker=ticker, name=name, composite_mic=composite_mic, exchange_mic=exchange_mic, stock_prices_after=stock_prices_after, stock_prices_before=stock_prices_before, cik=cik, figi=figi, composite_figi=composite_figi, share_class_figi=share_class_figi, figi_unique_id=figi_unique_id, include_non_figi=include_non_figi, page_size=page_size, primary_listing=primary_listing, next_page=next_page)
|
|
print(response)
|