Realtime Index Price By Identifier

Realtime Index Price By Identifier Csharp API Documentation

API Class:
Intrinio.SDK.Api.IndexApi
Instance Method:
GetRealtimeIndexPriceById()

Stock Price Code Example

Use my API Key
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetRealtimeIndexPriceByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "SPX";
RealtimeIndexPrice result = indexApi.GetRealtimeIndexPriceById(identifier);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstringThe index symbol 


Return Type

object
Intrinio.SDK.Model.RealtimeIndexPrice

Properties

NameTypeDescription
LastPricedecimal?The last price  
LastTimeDateTime?The timestamp of the last price  
IndexRealtimeIndexPriceIndex 
object
Intrinio.SDK.Model.RealtimeIndexPriceIndex

Properties

NameTypeDescription
SymbolstringThe current ticker of the index