Table of Contents

Class ForexMinutePrice

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

Represents one-minute historical price data for a forex currency pair.

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

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

Constructors

ForexMinutePrice()

public ForexMinutePrice()

ForexMinutePrice(ForexMinutePrice)

protected ForexMinutePrice(ForexMinutePrice original)

Parameters

original ForexMinutePrice

Properties

Close

Gets the closing rate for the one-minute period.

public decimal Close { get; init; }

Property Value

decimal

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

High

Gets the highest rate during the one-minute period.

public decimal High { get; init; }

Property Value

decimal

Low

Gets the lowest rate during the one-minute period.

public decimal Low { get; init; }

Property Value

decimal

Open

Gets the opening rate for the one-minute period.

public decimal Open { get; init; }

Property Value

decimal

Time

Gets the timestamp of the minute price record (UTC).

public DateTime Time { get; init; }

Property Value

DateTime

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(ForexMinutePrice?)

public virtual bool Equals(ForexMinutePrice? other)

Parameters

other ForexMinutePrice

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

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

Parameters

left ForexMinutePrice
right ForexMinutePrice

Returns

bool

operator !=(ForexMinutePrice?, ForexMinutePrice?)

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

Parameters

left ForexMinutePrice
right ForexMinutePrice

Returns

bool