Class CryptoMinutePrice
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents one-minute historical price data for a cryptocurrency.
See: https://financialdata.net/documentation#crypto_minute_prices
public record CryptoMinutePrice : IEquatable<CryptoMinutePrice>
- Inheritance
-
CryptoMinutePrice
- Implements
- Inherited Members
Constructors
CryptoMinutePrice()
public CryptoMinutePrice()
CryptoMinutePrice(CryptoMinutePrice)
protected CryptoMinutePrice(CryptoMinutePrice original)
Parameters
originalCryptoMinutePrice
Properties
Close
Gets the closing price for the one-minute period.
public decimal Close { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
High
Gets the highest price during the one-minute period.
public decimal High { get; init; }
Property Value
Low
Gets the lowest price during the one-minute period.
public decimal Low { get; init; }
Property Value
Open
Gets the opening price 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 cryptocurrency.
public string? TradingSymbol { get; init; }
Property Value
Volume
Gets the trading volume for the one-minute period.
public decimal Volume { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(CryptoMinutePrice?)
public virtual bool Equals(CryptoMinutePrice? other)
Parameters
otherCryptoMinutePrice
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 ==(CryptoMinutePrice?, CryptoMinutePrice?)
public static bool operator ==(CryptoMinutePrice? left, CryptoMinutePrice? right)
Parameters
leftCryptoMinutePricerightCryptoMinutePrice
Returns
operator !=(CryptoMinutePrice?, CryptoMinutePrice?)
public static bool operator !=(CryptoMinutePrice? left, CryptoMinutePrice? right)
Parameters
leftCryptoMinutePricerightCryptoMinutePrice