Class IndexSymbol
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents a market index symbol, including its trading symbol and name.
See: https://financialdata.net/documentation#index_symbols
public record IndexSymbol : IEquatable<IndexSymbol>
- Inheritance
-
IndexSymbol
- Implements
- Inherited Members
Constructors
IndexSymbol()
public IndexSymbol()
IndexSymbol(IndexSymbol)
protected IndexSymbol(IndexSymbol original)
Parameters
originalIndexSymbol
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
IndexName
Gets the name of the market index.
public string? IndexName { get; init; }
Property Value
TradingSymbol
Gets the trading symbol of the market index.
public string? TradingSymbol { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(IndexSymbol?)
public virtual bool Equals(IndexSymbol? other)
Parameters
otherIndexSymbol
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 ==(IndexSymbol?, IndexSymbol?)
public static bool operator ==(IndexSymbol? left, IndexSymbol? right)
Parameters
leftIndexSymbolrightIndexSymbol
Returns
operator !=(IndexSymbol?, IndexSymbol?)
public static bool operator !=(IndexSymbol? left, IndexSymbol? right)
Parameters
leftIndexSymbolrightIndexSymbol