Table of Contents

Class FuturesSymbol

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

Represents a futures contract symbol and its description and type.

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

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

Constructors

FuturesSymbol()

public FuturesSymbol()

FuturesSymbol(FuturesSymbol)

protected FuturesSymbol(FuturesSymbol original)

Parameters

original FuturesSymbol

Properties

Description

Gets the description of the futures contract.

public string? Description { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

TradingSymbol

Gets the trading symbol of the futures contract.

public string? TradingSymbol { get; init; }

Property Value

string

Type

Gets the type of futures contract (e.g., Interest Rates, Metals, Equities).

public string? Type { get; init; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(FuturesSymbol?)

public virtual bool Equals(FuturesSymbol? other)

Parameters

other FuturesSymbol

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

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

Parameters

left FuturesSymbol
right FuturesSymbol

Returns

bool

operator !=(FuturesSymbol?, FuturesSymbol?)

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

Parameters

left FuturesSymbol
right FuturesSymbol

Returns

bool