Table of Contents

Class EtfPrices

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

Represents daily price information for an ETF, including open, high, low, close, and volume.

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

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

Constructors

EtfPrices()

public EtfPrices()

EtfPrices(EtfPrices)

protected EtfPrices(EtfPrices original)

Parameters

original EtfPrices

Properties

Close

Gets the closing price of the ETF for the trading period.

public decimal Close { get; init; }

Property Value

decimal

Date

Gets the date of the price record.

public DateOnly? Date { get; init; }

Property Value

DateOnly?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

High

Gets the highest price recorded during the trading period.

public decimal High { get; init; }

Property Value

decimal

Low

Gets the lowest price recorded during the trading period.

public decimal Low { get; init; }

Property Value

decimal

Open

Gets the opening price of the ETF for the trading period.

public decimal Open { get; init; }

Property Value

decimal

TradingSymbol

Gets the trading symbol of the ETF.

public string? TradingSymbol { get; init; }

Property Value

string

Volume

Gets the total traded volume for the ETF.

public decimal Volume { get; init; }

Property Value

decimal

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(EtfPrices?)

public virtual bool Equals(EtfPrices? other)

Parameters

other EtfPrices

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

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

Parameters

left EtfPrices
right EtfPrices

Returns

bool

operator !=(EtfPrices?, EtfPrices?)

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

Parameters

left EtfPrices
right EtfPrices

Returns

bool