Realtime Index Price By Identifier

Realtime Index Price By Identifier Python API Documentation

API Class:
IndexApi
Instance Method:
get_realtime_index_price_by_id()

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)
identifier = 'SPX'
response = intrinio.IndexApi().get_realtime_index_price_by_id(identifier)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstrThe index symbol 


Return Type

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