Table of Contents

Class OptionChain

Namespace
Tudormobile.FinancialData.Entities
Assembly
Tudormobile.FinancialData.dll

Represents an option contract in an option chain, including expiration date, strike price, and contract type.

See: https://financialdata.net/documentation#option_chain

public record OptionChain : IEquatable<OptionChain>
Inheritance
OptionChain
Implements
Inherited Members

Constructors

OptionChain()

public OptionChain()

OptionChain(OptionChain)

protected OptionChain(OptionChain original)

Parameters

original OptionChain

Properties

CentralIndexKey

Gets the central index key (CIK) assigned by the SEC.

public string? CentralIndexKey { get; init; }

Property Value

string

ContractName

Gets the option contract name.

public string? ContractName { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ExpirationDate

Gets the expiration date of the option.

public DateOnly ExpirationDate { get; init; }

Property Value

DateOnly

PutOrCall

Gets whether the option is a Put or Call.

public string? PutOrCall { get; init; }

Property Value

string

RegistrantName

Gets the registrant name of the company.

public string? RegistrantName { get; init; }

Property Value

string

StrikePrice

Gets the strike price.

public decimal StrikePrice { get; init; }

Property Value

decimal

TradingSymbol

Gets the trading symbol of the underlying security.

public string? TradingSymbol { get; init; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(OptionChain?)

public virtual bool Equals(OptionChain? other)

Parameters

other OptionChain

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(OptionChain?, OptionChain?)

public static bool operator ==(OptionChain? left, OptionChain? right)

Parameters

left OptionChain
right OptionChain

Returns

bool

operator !=(OptionChain?, OptionChain?)

public static bool operator !=(OptionChain? left, OptionChain? right)

Parameters

left OptionChain
right OptionChain

Returns

bool