Class OptionGreeks
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents option Greeks (Delta, Gamma, Theta, Vega, Rho) for an option contract.
See: https://financialdata.net/documentation#option_greeks
public record OptionGreeks : IEquatable<OptionGreeks>
- Inheritance
-
OptionGreeks
- Implements
- Inherited Members
Constructors
OptionGreeks()
public OptionGreeks()
OptionGreeks(OptionGreeks)
protected OptionGreeks(OptionGreeks original)
Parameters
originalOptionGreeks
Properties
ContractName
Gets the option contract name.
public string? ContractName { get; init; }
Property Value
Date
Gets the date of the Greeks values.
public DateOnly Date { get; init; }
Property Value
Delta
Gets the Delta value.
public decimal Delta { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Gamma
Gets the Gamma value.
public decimal Gamma { get; init; }
Property Value
Rho
Gets the Rho value.
public decimal Rho { get; init; }
Property Value
Theta
Gets the Theta value.
public decimal Theta { get; init; }
Property Value
Vega
Gets the Vega value.
public decimal Vega { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(OptionGreeks?)
public virtual bool Equals(OptionGreeks? other)
Parameters
otherOptionGreeks
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 ==(OptionGreeks?, OptionGreeks?)
public static bool operator ==(OptionGreeks? left, OptionGreeks? right)
Parameters
leftOptionGreeksrightOptionGreeks
Returns
operator !=(OptionGreeks?, OptionGreeks?)
public static bool operator !=(OptionGreeks? left, OptionGreeks? right)
Parameters
leftOptionGreeksrightOptionGreeks