Zacks Sales Estimates

Zacks Sales Estimates Ruby API Documentation

This database offers consensus sales estimates for over 5,000 US and Canadian listed companies.

API Class:
Intrinio::ZacksApi
Instance Method:
get_zacks_sales_estimates()

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
zacks_api = Intrinio::ZacksApi.new
opts = {
identifier: "AAPL",
start_date: nil,
end_date: nil,
fiscal_year: nil,
fiscal_period: nil,
calendar_year: nil,
calendar_period: nil,
next_page: nil,
page_size: 100,
next_page2: nil
}
result = zacks_api.get_zacks_sales_estimates(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Company identifier (Ticker, CIK, LEI, Intrinio ID)[optional]  
start_dateDateLimit Sales estimates to those on or after this date[optional]  
end_dateDateLimit Sales estimates to those on or before this date[optional]  
fiscal_yearIntegerOnly for the given fiscal year[optional]  
fiscal_periodStringThe fiscal period[optional]  
calendar_yearIntegerOnly for the given calendar year[optional]  
calendar_periodStringThe calendar period[optional]  
next_pageStringGets the next page of data from a previous API call[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
next_page2StringGets the next page of data from a previous API call[optional]  

Return Type

object
Intrinio::ApiResponseZacksSalesEstimates

Properties

NameTypeDescription
estimatesArrayZacks Sales estimate data for a given date range  
next_pageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio::ZacksSalesEstimate

Properties

NameTypeDescription
companyCompanySummary 
dateDateThe period end date  
fiscal_yearIntegerThe company's fiscal year for the reported period  
fiscal_periodStringThe company's fiscal quarter for the reported period  
calendar_yearIntegerThe closest calendar year for the company's fiscal year  
calendar_periodStringThe closest calendar quarter for the company's fiscal year  
countIntegerThe number of estimates for the period  
meanFloatThe sales estimate mean estimate for the period  
medianFloatThe sales estimate median estimate for the period  
highFloatThe sales estimate high estimate for the period  
lowFloatThe sales estimate low estimate for the period  
standard_deviationFloatThe sales estimate standard deviation estimate for the period  
analyst_revisions_percent_change_1wFloatThe analyst revisions percent change in estimate for the period of 1 week.  
analyst_revisions_up_1wFloatThe analyst revisions going up for the period of 1 week.  
analyst_revisions_down_1wFloatThe analyst revisions going down for the period of 1 week.  
analyst_revisions_percent_change_1mFloatThe analyst revisions percent change in estimate for the period of 1 month.  
analyst_revisions_up_1mFloatThe analyst revisions going up for the period of 1 month.  
analyst_revisions_down_1mFloatThe analyst revisions going down for the period of 1 month.  
analyst_revisions_percent_change_3mFloatThe analyst revisions percent change in estimate for the period of 3 months.  
analyst_revisions_up_3mFloatThe analyst revisions going up for the period of 3 months.  
analyst_revisions_down_3mFloatThe analyst revisions going down for the period of 3 months.  
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