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
originalForexMinutePrice
Properties
Close
Gets the closing rate for the one-minute period.
public decimal Close { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
High
Gets the highest rate during the one-minute period.
public decimal High { get; init; }
Property Value
Low
Gets the lowest rate during the one-minute period.
public decimal Low { get; init; }
Property Value
Open
Gets the opening rate for the one-minute period.
public decimal Open { get; init; }
Property Value
Time
Gets the timestamp of the minute price record (UTC).
public DateTime Time { get; init; }
Property Value
TradingSymbol
Gets the trading symbol of the forex pair.
public string? TradingSymbol { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ForexMinutePrice?)
public virtual bool Equals(ForexMinutePrice? other)
Parameters
otherForexMinutePrice
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ForexMinutePrice?, ForexMinutePrice?)
public static bool operator ==(ForexMinutePrice? left, ForexMinutePrice? right)
Parameters
leftForexMinutePricerightForexMinutePrice
Returns
operator !=(ForexMinutePrice?, ForexMinutePrice?)
public static bool operator !=(ForexMinutePrice? left, ForexMinutePrice? right)
Parameters
leftForexMinutePricerightForexMinutePrice