Filter Fundamental

Filter Fundamental Ruby API Documentation

Returns fundamentals that meet the set of filters specified in parameters.

API Class:
Intrinio::FundamentalsApi
Instance Method:
filter_fundamental()

Stock Price Code Example

Use my API Key
# 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
fundamentals_api = Intrinio::FundamentalsApi.new
opts = {
filed_after: Date.parse("2022-01-01"),
filed_before: Date.parse("2022-12-01"),
reported_only: false,
fiscal_year: 2017,
statement_code: nil,
type: "false",
fiscal_period: "FY",
start_date: Date.parse("2022-01-01"),
end_date: Date.parse("2022-12-01"),
updated_after: Date.parse("2022-12-01"),
updated_before: Date.parse("2022-12-01"),
template: "indu",
next_page: nil
}
result = fundamentals_api.filter_fundamental(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
filed_afterDateOnly include fundamentals that were filed on or after this date.[optional]  
filed_beforeDateOnly include fundamentals that were filed on or before this date.[optional]  
reported_onlyBOOLEANOnly as-reported fundamentals[optional]  
fiscal_yearIntegerOnly for the given fiscal year[optional]  
statement_codeStringOnly of the given statement code[optional]  
typeStringOnly of the given type[optional]  
fiscal_periodStringThe fiscal period[optional]  
start_dateDateOnly include fundamentals where covered period is on or after this date.[optional]  
end_dateDateOnly include fundamentals where covered period is on or before this date.[optional]  
updated_afterDateOnly include fundamentals where it was updated after this date.[optional]  
updated_beforeDateOnly include fundamentals where it was updated before this date.[optional]  
templateStringThe financial statement template used by Intrinio to standardize the as reported data[optional]  
next_pageStringGets the next page of data from a previous API call[optional]  

Return Type

object
Intrinio::Fundamental

Properties

NameTypeDescription
idStringThe Intrinio ID of the Fundamental  
statement_codeStringThe code of the financial statement that the Fundamental represents  
fiscal_yearFloatThe fiscal year  
fiscal_periodStringThe fiscal period  
typeStringThe type of Fundamental  
start_dateDateThe period start date  
end_dateDateThe period start date  
filing_dateDateTimeThe date and time when the Fundamental was filed with the SEC  
is_latestBOOLEANIs this the latest fundamental available based on the company’s most recent filings? Use the Lookup Fundamental endpoint to find the latest fundamental (<a href=&quot;https://docs.intrinio.com/documentation/web_api/lookup_fundamental_v2&quot; target=&quot;_blank&quot;>reference</a>)  
companyCompanySummaryThe Company that the Fundamental was belongs to  
object
Intrinio::CompanySummary

Properties

NameTypeDescription
idStringThe Intrinio ID of the company  
tickerStringThe stock market ticker symbol associated with the company’s common stock securities  
nameStringThe company’s common name  
leiStringThe Legal Entity Identifier (LEI) assigned to the company  
cikStringThe Central Index Key (CIK) assigned to the company