insider trades

This commit is contained in:
Jeff Carr 2022-11-02 19:40:16 -05:00
parent fbfa97820c
commit f8757164ee
3 changed files with 1185 additions and 0 deletions

21
AAPL-institutional-trans.py Executable file
View File

@ -0,0 +1,21 @@
#!/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 = 'AAPL'
start_date = '2018-01-01'
end_date = '2019-01-01'
ownership_type = 'D'
next_page = ''
page_size = 1000
sort_by = 'updated_on'
next_page2 = ''
response = intrinio.CompanyApi().insider_transaction_filings_by_company(identifier, start_date=start_date, end_date=end_date, ownership_type=ownership_type, next_page=next_page, page_size=page_size, sort_by=sort_by, next_page2=next_page2)
print(response)

21
DOCN-institutional-trans.py Executable file
View File

@ -0,0 +1,21 @@
#!/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'
start_date = '2022-06-01'
end_date = '2022-11-01'
ownership_type = 'D'
next_page = ''
page_size = 1000
sort_by = 'updated_on'
next_page2 = ''
response = intrinio.CompanyApi().insider_transaction_filings_by_company(identifier, start_date=start_date, end_date=end_date, ownership_type=ownership_type, next_page=next_page, page_size=page_size, sort_by=sort_by, next_page2=next_page2)
print(response)

1143
DOCN-institutional-trans.txt Normal file

File diff suppressed because it is too large Load Diff