Class OptionPrice
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents daily historical option price data including open, high, low, close, and volume.
See: https://financialdata.net/documentation#option_prices
public record OptionPrice : IEquatable<OptionPrice>
- Inheritance
-
OptionPrice
- Implements
- Inherited Members
Constructors
OptionPrice()
public OptionPrice()
OptionPrice(OptionPrice)
protected OptionPrice(OptionPrice original)
Parameters
originalOptionPrice
Properties
Close
Gets the closing price.
public decimal Close { get; init; }
Property Value
ContractName
Gets the option contract name.
public string? ContractName { get; init; }
Property Value
Date
Gets the date of the price record.
public DateOnly Date { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
High
Gets the highest price.
public decimal High { get; init; }
Property Value
Low
Gets the lowest price.
public decimal Low { get; init; }
Property Value
Open
Gets the opening price.
public decimal Open { get; init; }
Property Value
Volume
Gets the trading volume.
public decimal Volume { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(OptionPrice?)
public virtual bool Equals(OptionPrice? other)
Parameters
otherOptionPrice
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 ==(OptionPrice?, OptionPrice?)
public static bool operator ==(OptionPrice? left, OptionPrice? right)
Parameters
leftOptionPricerightOptionPrice
Returns
operator !=(OptionPrice?, OptionPrice?)
public static bool operator !=(OptionPrice? left, OptionPrice? right)
Parameters
leftOptionPricerightOptionPrice