Table of Contents

Class ForexSymbol

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

Represents a forex currency pair symbol.

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

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

Constructors

ForexSymbol()

public ForexSymbol()

ForexSymbol(ForexSymbol)

protected ForexSymbol(ForexSymbol original)

Parameters

original ForexSymbol

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

Gets the full name of the forex pair.

public string? Name { get; init; }

Property Value

string

TradingSymbol

Gets the trading symbol of the forex pair.

public string? TradingSymbol { get; init; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ForexSymbol?)

public virtual bool Equals(ForexSymbol? other)

Parameters

other ForexSymbol

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

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

Parameters

left ForexSymbol
right ForexSymbol

Returns

bool

operator !=(ForexSymbol?, ForexSymbol?)

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

Parameters

left ForexSymbol
right ForexSymbol

Returns

bool