Skip to content

Latest commit

 

History

History
97 lines (58 loc) · 2.68 KB

InsiderTransactionFilingsApi.md

File metadata and controls

97 lines (58 loc) · 2.68 KB

Intrinio::InsiderTransactionFilingsApi

All URIs are relative to https://api-v2.intrinio.com

Method HTTP request Description
get_all_insider_transaction_filings GET /insider_transaction_filings All Insider Transactions Filings

get_all_insider_transaction_filings

View Intrinio API Documentation

ApiResponseOwnerInsiderTransactionFilings get_all_insider_transaction_filings(opts)

All Insider Transactions Filings

Returns all insider transactions filings fitting the optional supplied start and end date.

Example

# Load the gem
require 'intrinio-sdk'
require 'pp'

# Setup authorization
Intrinio.configure do |config|
  config.api_key['api_key'] = 'YOUR_API_KEY'
  config.allow_retries = true
end

insiderTransactionFilings_api = Intrinio::InsiderTransactionFilingsApi.new

opts = {
  start_date: Date.parse("2015-01-01"),
  end_date: nil,
  page_size: 100,
  sort_by: "updated_on",
  next_page: nil
}

result = insiderTransactionFilings_api.get_all_insider_transaction_filings(opts)
pp result

Parameters

Name Type Description Notes
start_date Date Filed on or after the given date [optional]  
end_date Date Filed before or after the given date [optional]  
page_size Integer The number of results to return [optional] [default to 100]  
sort_by String The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. [optional]  
next_page String Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseOwnerInsiderTransactionFilings