Table of Contents

Class EtfQuotes

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

Represents a real-time or recent quote for an ETF, including price, change, and percentage change.

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

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

Constructors

EtfQuotes()

public EtfQuotes()

EtfQuotes(EtfQuotes)

protected EtfQuotes(EtfQuotes original)

Parameters

original EtfQuotes

Properties

Change

Gets the price change.

public decimal Change { get; init; }

Property Value

decimal

Description

Gets the description of the ETF.

public string? Description { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

PercentageChange

Gets the percentage change in price.

public decimal PercentageChange { get; init; }

Property Value

decimal

Price

Gets the current price of the ETF.

public decimal Price { get; init; }

Property Value

decimal

Time

Gets the time of the quote.

public DateTime? Time { get; init; }

Property Value

DateTime?

TradingSymbol

Gets the trading symbol of the ETF.

public string? TradingSymbol { get; init; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(EtfQuotes?)

public virtual bool Equals(EtfQuotes? other)

Parameters

other EtfQuotes

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

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

Parameters

left EtfQuotes
right EtfQuotes

Returns

bool

operator !=(EtfQuotes?, EtfQuotes?)

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

Parameters

left EtfQuotes
right EtfQuotes

Returns

bool