All Realtime Index Prices

All Realtime Index Prices Python API Documentation

API Class:
IndexApi
Instance Method:
get_all_realtime_index_prices()

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)
page_size = 100
response = intrinio.IndexApi().get_all_realtime_index_prices(page_size=page_size)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

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


Return Type

object
ApiResponseRealtimeIndexPrices

Properties

NameTypeDescription
priceslist[RealtimeIndexPrice] 
next_pagestrThe token required to request the next page of the data. If null, no further results are available.  
object
RealtimeIndexPrice

Properties

NameTypeDescription
last_pricefloatThe last price  
last_timedatetimeThe timestamp of the last price  
indexRealtimeIndexPriceIndex 
object
RealtimeIndexPriceIndex

Properties

NameTypeDescription
symbolstrThe current ticker of the index