Option Prices Realtime Snapshot

Option Prices Realtime Snapshot Csharp API Documentation

Returns all options snapshots for the queried interval with links to download.

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

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 GetOptionsSnapshotsExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var optionsApi = new OptionsApi();
string source = null;
DateTime? atDatetime = null;
bool? withGreeks = null;
string stockPriceSource = null;
bool? withUnderlyingPrice = null;
OptionSnapshotsResult result = optionsApi.GetOptionsSnapshots(source, atDatetime, withGreeks, stockPriceSource, withUnderlyingPrice);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
sourcestringRealtime or 15-minute delayed contracts.[optional]  
atDatetimeDateTime?The UTC date and time (with url-encoded spaces) the snapshot will cover.[optional]  
withGreeksbool?Whether to include Greek calculations fields when available.[optional]  
stockPriceSourcestringSource for underlying price for calculating Greeks.[optional]  
withUnderlyingPricebool?Whether to include the underlying price of the security in the file.[optional]  


Return Type

object
Intrinio.SDK.Model.OptionSnapshotsResult

Properties

NameTypeDescription
SnapshotsListList of all the snapshot groups comprising the queried result.  
object
Intrinio.SDK.Model.OptionSnapshotGroup

Properties

NameTypeDescription
TimeDateTime?The UTC timestamp of this snapshot group.  
FilesListList of all the snapshot parts of this group.