Table of Contents

Class LatestPrice

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

Represents the latest one-minute price data for a security for the current week.

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

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

Constructors

LatestPrice()

public LatestPrice()

LatestPrice(LatestPrice)

protected LatestPrice(LatestPrice original)

Parameters

original LatestPrice

Properties

Close

Gets the closing price 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 price during the one-minute period.

public decimal High { get; init; }

Property Value

decimal

Low

Gets the lowest price during the one-minute period.

public decimal Low { get; init; }

Property Value

decimal

Open

Gets the opening price for the one-minute period.

public decimal Open { get; init; }

Property Value

decimal

Time

Gets the timestamp of the price record (UTC).

public DateTime Time { get; init; }

Property Value

DateTime

TradingSymbol

Gets the trading symbol of the security.

public string? TradingSymbol { get; init; }

Property Value

string

Volume

Gets the trading volume for the one-minute period.

public decimal Volume { get; init; }

Property Value

decimal

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(LatestPrice?)

public virtual bool Equals(LatestPrice? other)

Parameters

other LatestPrice

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

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

Parameters

left LatestPrice
right LatestPrice

Returns

bool

operator !=(LatestPrice?, LatestPrice?)

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

Parameters

left LatestPrice
right LatestPrice

Returns

bool