Table of Contents

Class InternationalStockPrice

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

Represents daily historical price data for international stocks.

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

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

Constructors

InternationalStockPrice()

public InternationalStockPrice()

InternationalStockPrice(InternationalStockPrice)

protected InternationalStockPrice(InternationalStockPrice original)

Parameters

original InternationalStockPrice

Properties

Close

Gets the closing price for the trading day.

public decimal Close { get; init; }

Property Value

decimal

Date

Gets the date of the price record.

public DateOnly Date { get; init; }

Property Value

DateOnly

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

High

Gets the highest price during the trading day.

public decimal High { get; init; }

Property Value

decimal

Low

Gets the lowest price during the trading day.

public decimal Low { get; init; }

Property Value

decimal

Open

Gets the opening price for the trading day.

public decimal Open { get; init; }

Property Value

decimal

TradingSymbol

Gets the trading symbol of the international stock.

public string? TradingSymbol { get; init; }

Property Value

string

Volume

Gets the trading volume for the day.

public decimal Volume { get; init; }

Property Value

decimal

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(InternationalStockPrice?)

public virtual bool Equals(InternationalStockPrice? other)

Parameters

other InternationalStockPrice

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

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

Parameters

left InternationalStockPrice
right InternationalStockPrice

Returns

bool

operator !=(InternationalStockPrice?, InternationalStockPrice?)

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

Parameters

left InternationalStockPrice
right InternationalStockPrice

Returns

bool