End of Day Index Prices By Identifier

End of Day Index Prices By Identifier Csharp API Documentation

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

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 GetEodIndexPriceByIdExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var indexApi = new IndexApi();
string identifier = "SPX";
int? pageSize = 100;
DateTime? startDate = null;
DateTime? endDate = null;
ApiResponseEodIndexPrices result = indexApi.GetEodIndexPriceById(identifier, pageSize, startDate, endDate);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstringThe index symbol 
pageSizeint?The number of results to return[optional] [default to 100]  
startDateDateTime?Limit prices to those on or after this date[optional]  
endDateDateTime?Limit prices to those on or before this date[optional]  


Return Type

object
Intrinio.SDK.Model.ApiResponseEodIndexPrices

Properties

NameTypeDescription
PricesList 
IndexApiResponseIndexThe index  
NextPagestringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio.SDK.Model.EodIndexPriceSummary

Properties

NameTypeDescription
Closedecimal?The close price  
Opendecimal?The open price  
Highdecimal?The high price  
Lowdecimal?The low price  
Volumeint?The volume  
DateDateTime?The date of the pricing data.  
object
Intrinio.SDK.Model.ApiResponseIndex

Properties

NameTypeDescription
SymbolstringThe index symbol  
NamestringThe index name