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
originalEtfQuotes
Properties
Change
Gets the price change.
public decimal Change { get; init; }
Property Value
Description
Gets the description of the ETF.
public string? Description { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
PercentageChange
Gets the percentage change in price.
public decimal PercentageChange { get; init; }
Property Value
Price
Gets the current price of the ETF.
public decimal Price { get; init; }
Property Value
Time
Gets the time of the quote.
public DateTime? Time { get; init; }
Property Value
TradingSymbol
Gets the trading symbol of the ETF.
public string? TradingSymbol { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(EtfQuotes?)
public virtual bool Equals(EtfQuotes? other)
Parameters
otherEtfQuotes
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 ==(EtfQuotes?, EtfQuotes?)
public static bool operator ==(EtfQuotes? left, EtfQuotes? right)
Parameters
Returns
operator !=(EtfQuotes?, EtfQuotes?)
public static bool operator !=(EtfQuotes? left, EtfQuotes? right)