Zacks Sales Surprises for Security

Zacks Sales Surprises for Security Ruby API Documentation

This database returns historical estimated and actual sales, guidance, and announcement dates for a specified US or Canadian company.

API Class:
Intrinio::SecurityApi
Instance Method:
get_security_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
security_api = Intrinio::SecurityApi.new
identifier = "AAPL"
opts = {
page_size: 100,
next_page: nil
}
result = security_api.get_security_zacks_sales_surprises(identifier, opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
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::ApiResponseSecurityZacksSalesSurprises

Properties

NameTypeDescription
sales_surprisesArray 
securitySecuritySummaryThe Security resolved from the given identifier  
next_pageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio::ZacksSalesSurpriseSummary

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  
securitySecuritySummaryThe Security of the Zacks Sales Surprise  
object
Intrinio::SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
company_idStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchange_micStringThe security's exchange MIC  
stock_exchange_idStringThe exchange's Intrinio ID  
nameStringThe name of the Security  
codeStringA 2-3 digit code classifying the Security (reference)  
currencyStringThe currency in which the Security is traded on the exchange  
tickerStringThe common/local ticker of the Security  
composite_tickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
composite_figiStringThe country-composite OpenFIGI identifier  
share_class_figiStringThe global-composite OpenFIGI identifier  
primary_listingBOOLEANIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
object
Intrinio::SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
company_idStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchange_micStringThe security's exchange MIC  
stock_exchange_idStringThe exchange's Intrinio ID  
nameStringThe name of the Security  
codeStringA 2-3 digit code classifying the Security (reference)  
currencyStringThe currency in which the Security is traded on the exchange  
tickerStringThe common/local ticker of the Security  
composite_tickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
composite_figiStringThe country-composite OpenFIGI identifier  
share_class_figiStringThe global-composite OpenFIGI identifier  
primary_listingBOOLEANIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange