intrinio-jcarr/DOCN-institutional-holders.py

16 lines
388 B
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)
identifier = 'DOCN'
response = intrinio.SecurityApi().get_security_insider_ownership(identifier)
print(response)