Class InvestmentTransaction
- Namespace
- Tudormobile.QIFLibrary.Entities
- Assembly
- Tudormobile.QIFLibrary.dll
Represents an investment transaction.
public class InvestmentTransaction
- Inheritance
-
InvestmentTransaction
- Inherited Members
Constructors
InvestmentTransaction(string, string, InvestmentTransactionType, DateTime?, decimal, decimal, decimal?)
Create and intialize a new instance.
public InvestmentTransaction(string id, string securityId, InvestmentTransactionType transactionType, DateTime? datePosted = null, decimal units = 0, decimal unitPrice = 0, decimal? total = null)
Parameters
idstringUnique identifier for the transaction.
securityIdstringSecurity identifier.
transactionTypeInvestmentTransactionTypeTransaction type.
datePostedDateTime?Date posted
unitsdecimalUnits transacted.
unitPricedecimalUnit price.
totaldecimal?Total amount.
Properties
CommissionAndFees
Commission and fees.
public decimal CommissionAndFees { get; }
Property Value
DatePosted
Date posted.
public DateTime DatePosted { get; set; }
Property Value
Id
Unique transaction identifier.
public string Id { get; set; }
Property Value
SecurityId
Security Id.
public string SecurityId { get; init; }
Property Value
Total
Total Amount.
public decimal Total { get; set; }
Property Value
TransactionType
Type of transaction.
public InvestmentTransactionType TransactionType { get; init; }
Property Value
UnitPrice
Unit price.
public decimal UnitPrice { get; set; }
Property Value
Units
Units transacted.
public decimal Units { get; set; }