Total open interest and volume aggregated by ticker

Total open interest and volume aggregated by ticker Csharp API Documentation

Returns total open interest and volume by ticker

API Class:
Intrinio.SDK.Api.OptionsApi
Instance Method:
GetOptionAggregates()

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 GetOptionAggregatesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var optionsApi = new OptionsApi();
var date = new Object();
int? pageSize = 100;
string nextPage = null;
ApiResponseOptionsAggregates result = optionsApi.GetOptionAggregates(date, pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
dateObjectReturn aggregated data for this date[optional]  
pageSizeint?The number of results to return[optional] [default to 100]  
nextPagestringGets the next page of data from a previous API call[optional]  


Return Type

object
Intrinio.SDK.Model.ApiResponseOptionsAggregates

Properties

NameTypeDescription
AggregatesListA list of option expiration dates in descending order  
NextPagestringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio.SDK.Model.OptionsAggregate

Properties

NameTypeDescription
TickerstringThe ticker symbol of the Security for the Option.  
DatestringThe date of the data.  
TotalOpenInterestlong?Total open interest for the ticker  
TotalVolumelong?Total volume for the ticker  
TotalPutVolumelong?Total put volume for the ticker  
TotalCallVolumelong?Total call volume for the ticker  
PutCallVolumeRatiodouble?Total put volume to total call volume ratio for the ticker  
ContractCountint?Total number of active contracts for the ticker