Zacks Sales Surprises

Zacks Sales Surprises Ruby API Documentation

This database returns historical estimated and actual sales, guidance, and announcement dates for 17,000+ US and Canadian listed companies.

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

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 = {
start_date: nil,
end_date: nil,
sales_actual_greater: nil,
sales_actual_less: nil,
sales_mean_estimate_greater: nil,
sales_mean_estimate_less: nil,
sales_amount_diff_greater: nil,
sales_amount_diff_less: nil,
sales_percent_diff_greater: nil,
sales_percent_diff_less: nil,
sales_count_estimate_greater: nil,
sales_count_estimate_less: nil,
sales_std_dev_estimate_greater: nil,
sales_std_dev_estimate_less: nil,
page_size: 100,
next_page: nil
}
result = zacks_api.get_zacks_sales_surprises(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
start_dateDateLimit sales surprises to those on or after this date[optional]  
end_dateDateLimit sales surprises to those on or before this date[optional]  
sales_actual_greaterFloatReturn only records with an actual sales higher than this value[optional]  
sales_actual_lessFloatReturn only records with an actual sales lower than this value[optional]  
sales_mean_estimate_greaterFloatReturn only records with a sales mean estimate greater than this value[optional]  
sales_mean_estimate_lessFloatReturn only records with a sales mean estimate lower than this value[optional]  
sales_amount_diff_greaterFloatReturn only records with a sales amount difference greater than this value[optional]  
sales_amount_diff_lessFloatReturn only records with a sales amount difference less than this value[optional]  
sales_percent_diff_greaterFloatReturn only records with a sales percent difference greater than this value[optional]  
sales_percent_diff_lessFloatReturn only records with a sales percent difference less than this value[optional]  
sales_count_estimate_greaterFloatReturn only records with a sales count estimate greater than this value[optional]  
sales_count_estimate_lessFloatReturn only records with a sales count estimate less than this value[optional]  
sales_std_dev_estimate_greaterFloatReturn only records with a sales standard deviation greater than this value[optional]  
sales_std_dev_estimate_lessFloatReturn only records with a sales standard deviation less than this value[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
next_pageStringGets the next page of data from a previous API call[optional]  

Return Type

object
Intrinio::ApiResponseZacksSalesSurprises

Properties

NameTypeDescription
sales_surprisesArrayZacks Sales Surprise data for a Security in descending order by actual reported date  
next_pageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio::ZacksSalesSurprise

Properties

NameTypeDescription
idStringThe Intrinio ID for the record  
fiscal_yearFloatThe company's fiscal year for the reported period  
fiscal_quarterStringThe company's fiscal quarter for the reported period  
calendar_yearFloatThe closest calendar year for the company's fiscal year  
calendar_quarterStringThe closest calendar quarter for the company's fiscal year  
actual_reported_dateDateThe actual report date for the earnings release  
actual_reported_timeStringThe actual report time for the earnings release  
actual_reported_codeStringThe code cooresponding to the earnings release BTO = BEFORE THE OPENDTM = DURING THE MARKETAMC = AFTER MARKET CLOSE  
actual_reported_descStringThe description for the type of earnings release  
last_rev_dateDateThe last revision date for the analyst estimates  
sales_actualFloatThe actual Non-GAAP sales figure released by the company, interpreted by Zacks.  
sales_actual_zacks_adjFloatThe adjustments Zacks made to get to Non-GAAP sales to reconcile with GAAP sales.  
sales_actual_gaapFloatThe actual GAAP sales figured released by the company  
sales_mean_estimateFloatThe pre-earnings release mean sales estimate for the company sales_count_estimate; the pre-earnings release number of estimates by analysts  
sales_amount_diffFloatThe sales surprise amount difference  
sales_percent_diffFloatThe sales surprise percent difference  
sales_std_dev_estimateFloatThe pre-earnings release standard deviation of sales estimates