Table of Contents

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

original IndexSymbol

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

IndexName

Gets the name of the market index.

public string? IndexName { get; init; }

Property Value

string

TradingSymbol

Gets the trading symbol of the market index.

public string? TradingSymbol { get; init; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(IndexSymbol?)

public virtual bool Equals(IndexSymbol? other)

Parameters

other IndexSymbol

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

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

Parameters

left IndexSymbol
right IndexSymbol

Returns

bool

operator !=(IndexSymbol?, IndexSymbol?)

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

Parameters

left IndexSymbol
right IndexSymbol

Returns

bool