Class StockSplit
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents stock split data including execution date and split multiplier.
See: https://financialdata.net/documentation#stock_splits
public record StockSplit : IEquatable<StockSplit>
- Inheritance
-
StockSplit
- Implements
- Inherited Members
Constructors
StockSplit()
public StockSplit()
StockSplit(StockSplit)
protected StockSplit(StockSplit original)
Parameters
originalStockSplit
Properties
CentralIndexKey
Gets the central index key (CIK) assigned by the SEC.
public string? CentralIndexKey { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
ExecutionDate
Gets the execution date of the stock split.
public DateOnly ExecutionDate { get; init; }
Property Value
RegistrantName
Gets the registrant name of the company.
public string? RegistrantName { get; init; }
Property Value
SplitRatio
Gets the ratio that represents how a stock has been split, typically expressed as a string (for example, "2:1").
public string? SplitRatio { get; init; }
Property Value
Remarks
The split ratio indicates the proportion by which shares are divided during a stock split. The value should follow the expected format (such as "2:1" or "3:2") to ensure correct interpretation.
TradingSymbol
Gets the trading symbol of the company.
public string? TradingSymbol { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(StockSplit?)
public virtual bool Equals(StockSplit? other)
Parameters
otherStockSplit
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 ==(StockSplit?, StockSplit?)
public static bool operator ==(StockSplit? left, StockSplit? right)
Parameters
leftStockSplitrightStockSplit
Returns
operator !=(StockSplit?, StockSplit?)
public static bool operator !=(StockSplit? left, StockSplit? right)
Parameters
leftStockSplitrightStockSplit