Security Betas

Security Betas Java API Documentation

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

API Class:
StockExchangeApi
Instance Method:
getStockExchangeBetas()

Stock Price Code Example

Use my API Key
import com.intrinio.api.*;
import com.intrinio.models.*;
import com.intrinio.invoker.*;
import com.intrinio.invoker.auth.*;
import org.threeten.bp.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth auth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
auth.setApiKey("YOUR_API_KEY");
defaultClient.setAllowRetries(true);
StockExchangeApi stockExchangeApi = new StockExchangeApi();
String identifier = "USCOMP";
String type = "weekly";
Object date = "2024-04-24";
Integer pageSize = 100;
String nextPage = null;
ApiResponseStockExchangeBetas result = stockExchangeApi.getStockExchangeBetas(identifier, type, date, pageSize, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Stock Exchange identifier (MIC or Intrinio ID) 
typeStringOnly of the given type[optional] [default to weekly] [enum: weekly, monthly]  
dateObjectReturn data for this period end date.[optional]  
pageSizeIntegerThe number of results to return[optional] [default to 100]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseStockExchangeBetas

Properties

NameTypeDescription
betasListThe mover security.  
stockExchangeStockExchangeThe Stock Exchange resolved from the given identifier  
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Beta

Properties

NameTypeDescription
periodTypePeriodTypeEnumType of period for this beta value.  
oneYearBetaBigDecimalThe one year beta value for this security.  
threeYearBetaBigDecimalThe three year beta value for this security.  
fiveYearBetaBigDecimalThe five year beta value for this security.  
sevenYearBetaBigDecimalThe seven year beta value for this security.  
tenYearBetaBigDecimalThe ten year beta value for this security.  
securitySecuritySummaryThe Security.  
object
SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
companyIdStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchangeMicStringThe security's exchange MIC  
stockExchangeIdStringThe 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  
compositeTickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
compositeFigiStringThe country-composite OpenFIGI identifier  
shareClassFigiStringThe global-composite OpenFIGI identifier  
primaryListingBooleanIf 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
idStringThe Intrinio ID for the Stock Exchange  
nameStringThe name of the exchange  
micStringThe Market Identifier Code (MIC) of the exchange  
acronymStringThe acronym of the exchange's name  
cityStringThe city in which the exchange is located  
countryStringThe country in which the exchange is located  
countryCodeStringThe 2-digit code of the exchange's country  
websiteStringThe website of the exchange  
firstStockPriceDateLocalDateThe earliest date for which Intrinio has stock prices for the exchange  
lastStockPriceDateLocalDateThe latest date for which Intrinio has stock prices for the exchange