All Realtime Index Prices

All Realtime Index Prices Java API Documentation

API Class:
IndexApi
Instance Method:
getAllRealtimeIndexPrices()

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);
IndexApi indexApi = new IndexApi();
Integer pageSize = 100;
ApiResponseRealtimeIndexPrices result = indexApi.getAllRealtimeIndexPrices(pageSize);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
pageSizeIntegerThe number of results to return[optional] [default to 100]  


Return Type

object
ApiResponseRealtimeIndexPrices

Properties

NameTypeDescription
pricesList 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
RealtimeIndexPrice

Properties

NameTypeDescription
lastPriceBigDecimalThe last price  
lastTimeOffsetDateTimeThe timestamp of the last price  
indexRealtimeIndexPriceIndex 
object
RealtimeIndexPriceIndex

Properties

NameTypeDescription
symbolStringThe current ticker of the index