Class HouseTrading
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents a stock transaction by a U.S. House of Representatives member.
See: https://financialdata.net/documentation#house_trading
public record HouseTrading : IEquatable<HouseTrading>
- Inheritance
-
HouseTrading
- Implements
- Inherited Members
Constructors
HouseTrading()
public HouseTrading()
HouseTrading(HouseTrading)
protected HouseTrading(HouseTrading original)
Parameters
originalHouseTrading
Properties
AmountRange
Gets the amount range of the transaction.
public string? AmountRange { get; init; }
Property Value
AssetType
Gets the asset type (e.g., Stock, Stock Option).
public string? AssetType { get; init; }
Property Value
Comment
Gets additional comments.
public string? Comment { get; init; }
Property Value
DisclosureDate
Gets the disclosure date.
public DateOnly DisclosureDate { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
RepresentativeName
Gets the name of the House member.
public string? RepresentativeName { get; init; }
Property Value
TradingSymbol
Gets the trading symbol of the company.
public string? TradingSymbol { get; init; }
Property Value
TransactionDate
Gets the date of the transaction.
public DateOnly TransactionDate { get; init; }
Property Value
TransactionType
Gets the transaction type (e.g., Purchase, Sale).
public string? TransactionType { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(HouseTrading?)
public virtual bool Equals(HouseTrading? other)
Parameters
otherHouseTrading
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 ==(HouseTrading?, HouseTrading?)
public static bool operator ==(HouseTrading? left, HouseTrading? right)
Parameters
leftHouseTradingrightHouseTrading
Returns
operator !=(HouseTrading?, HouseTrading?)
public static bool operator !=(HouseTrading? left, HouseTrading? right)
Parameters
leftHouseTradingrightHouseTrading