Intraday Stock Prices for Security

Intraday Stock Prices for Security Java API Documentation

Deprecated. Return intraday stock prices for the Security with the given `identifier`

API Class:
SecurityApi
Instance Method:
getSecurityIntradayPrices()

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();
String identifier = "AAPL";
String source = null;
LocalDate startDate = LocalDate.of(2018,1,01);
String startTime = null;
LocalDate endDate = LocalDate.of(2019,1,01);
String endTime = null;
Integer pageSize = 100;
String nextPage = null;
ApiResponseSecurityIntradayPrices result = securityApi.getSecurityIntradayPrices(identifier, source, startDate, startTime, endDate, endTime,
      pageSize, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
sourceStringReturn intraday prices from the specified data source[optional] [enum: iex, bats]  
startDateLocalDateReturn intraday prices starting at the specified date[optional]  
startTimeStringReturn intraday prices starting at the specified time on the `start_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
endDateLocalDateReturn intraday prices stopping at the specified date[optional]  
endTimeStringReturn intraday prices stopping at the specified time on the `end_date` (24-hour in ‘hh:mm' format, UTC timezone)[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
ApiResponseSecurityIntradayPrices

Properties

NameTypeDescription
intradayPricesListThe intraday stock prices for the Security  
securitySecuritySummaryThe Security resolved from the given identifier  
sourceSourceEnumThe source of the data  
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
IntradayStockPrice

Properties

NameTypeDescription
timeOffsetDateTimeThe timestamp that the `last_price` represents.  
lastPriceBigDecimalThe price of the last trade.  
askPriceBigDecimalThe price of the top ask order.  
askSizeBigDecimalThe size of the top ask order.  
bidPriceBigDecimalThe price of the top bid order.  
bidSizeBigDecimalThe size of the top bid order.  
volumeBigDecimalThe number of shares exchanged during the trading day on the exchange.  
sourceStringThe source of the data.  
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