Screen Securities

Screen Securities Java API Documentation

Screen Securities using complex logic. Use POST only. See screener documentation for details on how to construct conditions.

API Class:
SecurityApi
Instance Method:
screenSecurities()

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);
SecurityApi securityApi = new SecurityApi();
SecurityScreenGroup logic = new SecurityScreenGroup();
String orderColumn = "marketcap";
String orderDirection = "asc";
Boolean primaryOnly = false;
Integer pageSize = 100;
logic.setOperator("AND");
SecurityScreenClause clauseOne = new SecurityScreenClause();
SecurityScreenClause clauseTwo = new SecurityScreenClause();
clauseOne.setField("marketcap");
clauseOne.setOperator(SecurityScreenClause.OperatorEnum.GT);
clauseOne.setValue("100000000");
clauseTwo.setField("beta");
clauseTwo.setOperator(SecurityScreenClause.OperatorEnum.LT);
clauseTwo.setValue("5");
List<SecurityScreenClause> clauses = new ArrayList<>();
clauses.add(clauseOne);
clauses.add(clauseTwo);
logic.setClauses(clauses);
List<SecurityScreenResult> result = securityApi.screenSecurities(logic, orderColumn, orderDirection, primaryOnly, pageSize);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
logicSecurityScreenGroupThe logic to screen with, consisting of operators, clauses, and nested groups.
See screener documentation for details on how to construct conditions.
[optional]  
orderColumnStringResults returned sorted by this column[optional]  
orderDirectionStringSort order to use with the order_column[optional] [default to asc] [enum: asc, desc]  
primaryOnlyBooleanReturn only primary securities[optional] [default to false]  
pageSizeIntegerThe number of results to return. Maximum for this endpoint is 50000.[optional] [default to 100]  


Return Type

object
List<SecurityScreenResult>

Properties

NameTypeDescription
securitySecuritySummary 
dataList 
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
SecurityScreenResultData

Properties

NameTypeDescription
tagStringThe data tag that was screened-for  
numberValueStringThe numeric value for the tag  
textValueStringThe text value for the tag