Table of Contents

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

original OptionGreeks

Properties

ContractName

Gets the option contract name.

public string? ContractName { get; init; }

Property Value

string

Date

Gets the date of the Greeks values.

public DateOnly Date { get; init; }

Property Value

DateOnly

Delta

Gets the Delta value.

public decimal Delta { get; init; }

Property Value

decimal

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Gamma

Gets the Gamma value.

public decimal Gamma { get; init; }

Property Value

decimal

Rho

Gets the Rho value.

public decimal Rho { get; init; }

Property Value

decimal

Theta

Gets the Theta value.

public decimal Theta { get; init; }

Property Value

decimal

Vega

Gets the Vega value.

public decimal Vega { get; init; }

Property Value

decimal

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(OptionGreeks?)

public virtual bool Equals(OptionGreeks? other)

Parameters

other OptionGreeks

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 ==(OptionGreeks?, OptionGreeks?)

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

Parameters

left OptionGreeks
right OptionGreeks

Returns

bool

operator !=(OptionGreeks?, OptionGreeks?)

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

Parameters

left OptionGreeks
right OptionGreeks

Returns

bool