Table of Contents

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

id string

Unique identifier for the transaction.

securityId string

Security identifier.

transactionType InvestmentTransactionType

Transaction type.

datePosted DateTime?

Date posted

units decimal

Units transacted.

unitPrice decimal

Unit price.

total decimal?

Total amount.

Properties

CommissionAndFees

Commission and fees.

public decimal CommissionAndFees { get; }

Property Value

decimal

DatePosted

Date posted.

public DateTime DatePosted { get; set; }

Property Value

DateTime

Id

Unique transaction identifier.

public string Id { get; set; }

Property Value

string

SecurityId

Security Id.

public string SecurityId { get; init; }

Property Value

string

Total

Total Amount.

public decimal Total { get; set; }

Property Value

decimal

TransactionType

Type of transaction.

public InvestmentTransactionType TransactionType { get; init; }

Property Value

InvestmentTransactionType

UnitPrice

Unit price.

public decimal UnitPrice { get; set; }

Property Value

decimal

Units

Units transacted.

public decimal Units { get; set; }

Property Value

decimal