Security Betas

Security Betas Python API Documentation

Returns security beta data in the Stock Exchange with the given `identifier`

API Class:
StockExchangeApi
Instance Method:
get_stock_exchange_betas()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'USCOMP'
type = 'weekly'
date = "2024-04-24"
page_size = 100
next_page = ''
response = intrinio.StockExchangeApi().get_stock_exchange_betas(identifier, type=type, date=date, page_size=page_size, next_page=next_page)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstrA Stock Exchange identifier (MIC or Intrinio ID) 
typestrOnly of the given type[optional] [default to weekly]  
dateobjectReturn data for this period end date.[optional]  
page_sizeintThe number of results to return[optional] [default to 100]  
next_pagestrGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseStockExchangeBetas

Properties

NameTypeDescription
betaslist[Beta]The mover security.  
stock_exchangeStockExchangeThe Stock Exchange resolved from the given identifier  
next_pagestrThe token required to request the next page of the data. If null, no further results are available.  
object
Beta

Properties

NameTypeDescription
period_typestrType of period for this beta value.  
one_year_betafloatThe one year beta value for this security.  
three_year_betafloatThe three year beta value for this security.  
five_year_betafloatThe five year beta value for this security.  
seven_year_betafloatThe seven year beta value for this security.  
ten_year_betafloatThe ten year beta value for this security.  
securitySecuritySummaryThe Security.  
object
SecuritySummary

Properties

NameTypeDescription
idstrThe Intrinio ID for Security  
company_idstrThe Intrinio ID for the Company for which the Security is issued  
exchangestrThe exchange's MIC  
exchange_micstrThe security's exchange MIC  
stock_exchange_idstrThe exchange's Intrinio ID  
namestrThe name of the Security  
codestrA 2-3 digit code classifying the Security (reference)  
currencystrThe currency in which the Security is traded on the exchange  
tickerstrThe common/local ticker of the Security  
composite_tickerstrThe country-composite ticker of the Security  
figistrThe OpenFIGI identifier  
composite_figistrThe country-composite OpenFIGI identifier  
share_class_figistrThe global-composite OpenFIGI identifier  
primary_listingboolIf True, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
object
StockExchange

Properties

NameTypeDescription
idstrThe Intrinio ID for the Stock Exchange  
namestrThe name of the exchange  
micstrThe Market Identifier Code (MIC) of the exchange  
acronymstrThe acronym of the exchange's name  
citystrThe city in which the exchange is located  
countrystrThe country in which the exchange is located  
country_codestrThe 2-digit code of the exchange's country  
websitestrThe website of the exchange  
first_stock_price_datedateThe earliest date for which Intrinio has stock prices for the exchange  
last_stock_price_datedateThe latest date for which Intrinio has stock prices for the exchange