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
originalOptionChain
Properties
CentralIndexKey
Gets the central index key (CIK) assigned by the SEC.
public string? CentralIndexKey { get; init; }
Property Value
ContractName
Gets the option contract name.
public string? ContractName { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
ExpirationDate
Gets the expiration date of the option.
public DateOnly ExpirationDate { get; init; }
Property Value
PutOrCall
Gets whether the option is a Put or Call.
public string? PutOrCall { get; init; }
Property Value
RegistrantName
Gets the registrant name of the company.
public string? RegistrantName { get; init; }
Property Value
StrikePrice
Gets the strike price.
public decimal StrikePrice { get; init; }
Property Value
TradingSymbol
Gets the trading symbol of the underlying security.
public string? TradingSymbol { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(OptionChain?)
public virtual bool Equals(OptionChain? other)
Parameters
otherOptionChain
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(OptionChain?, OptionChain?)
public static bool operator ==(OptionChain? left, OptionChain? right)
Parameters
leftOptionChainrightOptionChain
Returns
operator !=(OptionChain?, OptionChain?)
public static bool operator !=(OptionChain? left, OptionChain? right)
Parameters
leftOptionChainrightOptionChain