Class OtcPrice
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents daily OTC (Over-the-Counter) price data for a security.
public record OtcPrice : IEquatable<OtcPrice>
- Inheritance
-
OtcPrice
- Implements
- Inherited Members
Remarks
Constructors
OtcPrice()
public OtcPrice()
OtcPrice(OtcPrice)
protected OtcPrice(OtcPrice original)
Parameters
originalOtcPrice
Properties
Close
The closing price for the trading day.
public decimal Close { get; set; }
Property Value
Date
The date for the price record (format: yyyy-MM-dd).
public DateOnly Date { get; set; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
High
The highest price reached during the trading day.
public decimal High { get; set; }
Property Value
Low
The lowest price reached during the trading day.
public decimal Low { get; set; }
Property Value
Open
The opening price for the trading day.
public decimal Open { get; set; }
Property Value
TradingSymbol
The trading symbol of the security (e.g., "AABB").
public string? TradingSymbol { get; set; }
Property Value
Volume
The trading volume for the day.
public decimal Volume { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(OtcPrice?)
public virtual bool Equals(OtcPrice? other)
Parameters
otherOtcPrice
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 ==(OtcPrice?, OtcPrice?)
public static bool operator ==(OtcPrice? left, OtcPrice? right)
Parameters
Returns
operator !=(OtcPrice?, OtcPrice?)
public static bool operator !=(OtcPrice? left, OtcPrice? right)