Option Prices Batch Realtime

Option Prices Batch Realtime Csharp API Documentation

Returns a list of latest price data for up to 250 option contracts per request.

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

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 GetOptionsPricesBatchRealtimeExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var optionsApi = new OptionsApi();
string source = null;
bool? showStats = null;
string stockPriceSource = null;
string model = null;
bool? showExtendedPrice = null;
var body = new OptionContractsList();
body.Contracts = new List<string>(new string[] { "A220121P00055000", "A220121P00057500", "A220121P00060000" });
ApiResponseOptionsPricesBatchRealtime result = optionsApi.GetOptionsPricesBatchRealtime(body, source, showStats, stockPriceSource, model,
        showExtendedPrice);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
bodyOptionContractsListThe contract symbols for which to return options prices for. 
sourcestringRealtime or 15-minute delayed contracts.[optional]  
showStatsbool?Whether to include Greek calculations or not.[optional]  
stockPriceSourcestringSource for underlying price for calculating Greeks.[optional]  
modelstringModel for calculating Greek values. Default is black_scholes.[optional]  
showExtendedPricebool?Whether to include open close high low type fields.[optional]  


Return Type

object
Intrinio.SDK.Model.ApiResponseOptionsPricesBatchRealtime

Properties

NameTypeDescription
ContractsList 
object
Intrinio.SDK.Model.OptionPriceBatchRealtime

Properties

NameTypeDescription
PriceOptionPriceRealtime 
StatsOptionStatsRealtime 
OptionOptionRealtime 
ExtendedPriceOptionPriceRealtimeExtended 
object
Intrinio.SDK.Model.OptionPriceRealtime

Properties

NameTypeDescription
Lastdecimal?The price of the last trade  
LastSizeint?The size of the last trade  
LastTimestampDateTime?The time of the last trade  
Volumeint?The cumulative volume of this options contract that traded that day.  
Askdecimal?The price of the top ask order  
AskSizeint?The size of the top ask order  
AskTimestampDateTime?The timestamp of the top ask order  
Biddecimal?The price of the top bid order  
BidSizeint?The size of the top bid order  
BidTimestampDateTime?The time of the top bid order  
OpenInterestint?The total number of this options contract that are still open.  
ExerciseStylestringThe exercise style of the option. ("A" = "American", "E" = "European")  
object
Intrinio.SDK.Model.OptionStatsRealtime

Properties

NameTypeDescription
ImpliedVolatilitydecimal?The implied volatility of the contract calculated using the Black-Scholes Model.  
Deltadecimal?Delta represents the rate of change between the option's price and a $1 change in the underlying asset's price.  
Gammadecimal?Gamma represents the rate of change between an option's delta and the underlying asset's price.  
Thetadecimal?Theta represents the rate of change between the option price and time, or time sensitivity - sometimes known as an option's time decay.  
Vegadecimal?Vega represents the rate of change between an option's value and the underlying asset's implied volatility.  
UnderlyingPricedecimal?The most recent trade price of the underlying asset.  
object
Intrinio.SDK.Model.OptionRealtime

Properties

NameTypeDescription
CodestringThe Intrinio Code for the Option.  
TickerstringThe ticker symbol of the Security for the Option.  
ExpirationDateTime?The date on which the Option expires. The Option becomes invalid after this date and cannot be exercised.  
Strikedecimal?The strike price is the fixed price at which a derivative can be exercised, and refers to the price of the derivative's underlying asset. In a call option, the strike price is the price at which the option holder can purchase the underlying security. For a put option, the strike price is the price at which the option holder can sell the underlying security.  
TypestringThe type of Option (put or call).  
object
Intrinio.SDK.Model.OptionPriceRealtimeExtended

Properties

NameTypeDescription
BidOpendecimal?The price of the bid at open  
BidHighdecimal?The high bid so far today  
BidLowdecimal?The low bid so far today  
AskOpendecimal?The price of the ask at open  
AskHighdecimal?The high ask so far today  
AskLowdecimal?The low ask so far today  
TradeOpendecimal?The price of the trade at open  
TradeHighdecimal?The high trade so far today  
TradeLowdecimal?The low trade so far today  
AskClosedecimal?The price of ask at close today  
BidClosedecimal?The price of bid at close today  
TradeClosedecimal?The price of the last trade of the day  
Markdecimal?The mark price