Stock Prices by Exchange

Stock Prices by Exchange Csharp API Documentation

Returns end-of-day stock prices for Securities on the Stock Exchange with `identifier` and on the `price_date` (or the latest date that prices are available)

API Class:
Intrinio.SDK.Api.StockExchangeApi
Instance Method:
GetStockExchangePrices()

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 GetStockExchangePricesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var stockExchangeApi = new StockExchangeApi();
string identifier = "USCOMP";
DateTime? date = DateTime.Parse("2018-08-14");
DateTime? startDate = DateTime.Parse("2020-08-14");
DateTime? endDate = DateTime.Parse("2022-08-14");
int? pageSize = 100;
string nextPage = null;
var tickers = new List<string>();
string nextPage2 = "";
ApiResponseStockExchangeStockPrices result = stockExchangeApi.GetStockExchangePrices(identifier, date, startDate, endDate, pageSize, nextPage,
        tickers, nextPage2);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstringA Stock Exchange identifier (MIC or Intrinio ID) 
dateDateTime?The date for which to return prices. May not be used with the start_date and end_date parameters.[optional]  
startDateDateTime?The start of the date range you're querying. May not be used with date parameter.[optional]  
endDateDateTime?The end of the date range you're querying. May not be used with date parameter.[optional]  
pageSizeint?The number of results to return[optional] [default to 100]  
nextPagestringGets the next page of data from a previous API call[optional]  
tickersListThe comma-delimited list of ticker symbols to filter down to. If not provided, the entire stock exchange is returned.[optional]  
nextPage2stringGets the next page of data from a previous API call[optional]  


Return Type

object
Intrinio.SDK.Model.ApiResponseStockExchangeStockPrices

Properties

NameTypeDescription
StockPricesListThe stock prices for all Securities traded on the Stock Exchange on the given date  
StockExchangeStockExchangeThe Stock Exchange resolved from the given identifier  
NextPagestringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio.SDK.Model.StockPrice

Properties

NameTypeDescription
DateDateTime?The calendar date that the stock price represents. For non-daily stock prices, this represents the last day in the period (end of the week, month, quarter, year, etc)  
Intraperiodbool?If true, the stock price represents an unfinished period (be it day, week, quarter, month, or year), meaning that the close price is the latest price available, not the official close price for the period  
FrequencystringThe type of period that the stock price represents  
Opendecimal?The price at the beginning of the period  
Highdecimal?The highest price over the span of the period  
Lowdecimal?The lowest price over the span of the period  
Closedecimal?The price at the end of the period  
Volumedecimal?The number of shares exchanged during the period  
AdjOpendecimal?The price at the beginning of the period, adjusted for splits and dividends  
AdjHighdecimal?The highest price over the span of the period, adjusted for splits and dividends  
AdjLowdecimal?The lowest price over the span of the period, adjusted for splits and dividends  
AdjClosedecimal?The price at the end of the period, adjusted for splits and dividends  
AdjVolumedecimal?The number of shares exchanged during the period, adjusted for splits and dividends  
Factordecimal?The factor by which to multiply stock prices before this date, in order to calculate historically-adjusted stock prices.  
SplitRatiodecimal?The ratio of the stock split, if a stock split occurred.  
Dividenddecimal?The dividend amount, if a dividend was paid.  
Changedecimal?The difference in price from the last price for this frequency  
PercentChangedecimal?The percent difference in price from the last price for this frequency  
FiftyTwoWeekHighdecimal?The 52 week high price (daily only)  
FiftyTwoWeekLowdecimal?The 52 week low price (daily only)  
SecuritySecuritySummaryThe Security of the stock price  
object
Intrinio.SDK.Model.SecuritySummary

Properties

NameTypeDescription
IdstringThe Intrinio ID for Security  
CompanyIdstringThe Intrinio ID for the Company for which the Security is issued  
ExchangestringThe exchange's MIC  
ExchangeMicstringThe security's exchange MIC  
StockExchangeIdstringThe exchange's Intrinio ID  
NamestringThe name of the Security  
CodestringA 2-3 digit code classifying the Security (reference)  
CurrencystringThe currency in which the Security is traded on the exchange  
TickerstringThe common/local ticker of the Security  
CompositeTickerstringThe country-composite ticker of the Security  
FigistringThe OpenFIGI identifier  
CompositeFigistringThe country-composite OpenFIGI identifier  
ShareClassFigistringThe global-composite OpenFIGI identifier  
PrimaryListingbool?If true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
object
Intrinio.SDK.Model.StockExchange

Properties

NameTypeDescription
IdstringThe Intrinio ID for the Stock Exchange  
NamestringThe name of the exchange  
MicstringThe Market Identifier Code (MIC) of the exchange  
AcronymstringThe acronym of the exchange's name  
CitystringThe city in which the exchange is located  
CountrystringThe country in which the exchange is located  
CountryCodestringThe 2-digit code of the exchange's country  
WebsitestringThe website of the exchange  
FirstStockPriceDateDateTime?The earliest date for which Intrinio has stock prices for the exchange  
LastStockPriceDateDateTime?The latest date for which Intrinio has stock prices for the exchange