QPAS
QUSMA Performance Analytics Suite
Protected Member Functions | Properties | Events | List of all members
EntityModel.FXTransaction Class Reference
Inheritance diagram for EntityModel.FXTransaction:

Protected Member Functions

virtual void OnPropertyChanged ([CallerMemberName] string propertyName=null)
 

Properties

int ID [get, set]
 
int FunctionalCurrencyID [get, set]
 
virtual Currency FunctionalCurrency [get, set]
 The functional currency of your account. More...
 
string FunctionalCurrencyString [get, set]
 Used for xml parsing. More...
 
int FXCurrencyID [get, set]
 
virtual Currency FXCurrency [get, set]
 The non-functional currency involved in the activity. More...
 
string FXCurrencyString [get, set]
 Used for xml parsing. More...
 
string Description [get, set]
 The description of the activity. More...
 
DateTime DateTime [get, set]
 
decimal Quantity [get, set]
 The number of units in the activity. When gaining currency, quantity is positive and when losing currency, quantity is negative. More...
 
int? TradeID [get, set]
 
virtual Trade Trade [get, set]
 
decimal Proceeds [get, set]
 The proceeds in your functional currency resulting from the activity. For closed lots, this is the proceeds of closing against the cost of opening. For transactions, proceeds are as follows: More...
 
decimal Cost [get, set]
 The inverse of the proceeds (proceeds negated). More...
 
string Code [get, set]
 
int? AccountID [get, set]
 
virtual Account Account [get, set]
 

Events

PropertyChangedEventHandler PropertyChanged
 

Member Function Documentation

◆ OnPropertyChanged()

virtual void EntityModel.FXTransaction.OnPropertyChanged ( [CallerMemberName] string  propertyName = null)
protectedvirtual

Property Documentation

◆ Account

virtual Account EntityModel.FXTransaction.Account
getset

◆ AccountID

int? EntityModel.FXTransaction.AccountID
getset

◆ Code

string EntityModel.FXTransaction.Code
getset

◆ Cost

decimal EntityModel.FXTransaction.Cost
getset

The inverse of the proceeds (proceeds negated).

◆ DateTime

DateTime EntityModel.FXTransaction.DateTime
getset

◆ Description

string EntityModel.FXTransaction.Description
getset

The description of the activity.

◆ FunctionalCurrency

virtual Currency EntityModel.FXTransaction.FunctionalCurrency
getset

The functional currency of your account.

◆ FunctionalCurrencyID

int EntityModel.FXTransaction.FunctionalCurrencyID
getset

◆ FunctionalCurrencyString

string EntityModel.FXTransaction.FunctionalCurrencyString
getset

Used for xml parsing.

◆ FXCurrency

virtual Currency EntityModel.FXTransaction.FXCurrency
getset

The non-functional currency involved in the activity.

◆ FXCurrencyID

int EntityModel.FXTransaction.FXCurrencyID
getset

◆ FXCurrencyString

string EntityModel.FXTransaction.FXCurrencyString
getset

Used for xml parsing.

◆ ID

int EntityModel.FXTransaction.ID
getset

◆ Proceeds

decimal EntityModel.FXTransaction.Proceeds
getset

The proceeds in your functional currency resulting from the activity. For closed lots, this is the proceeds of closing against the cost of opening. For transactions, proceeds are as follows:

For spot trades, the amount is the value of the nonfunctional currency expressed in your functional currency using the spot rate on the trade date. For securities trades, the amount is the value of the nonfunctional currency expressed in your functional currency using the spot rate on the trade date. For interest, dividends or deposits, the amount is the spot rate on the day of the transaction.

When gaining currency, proceeds are positive and when losing currency, proceeds are negative. Proceeds equals quantity * the conversion rate from non-functional currency to functional currency for the report date of the transaction.

◆ Quantity

decimal EntityModel.FXTransaction.Quantity
getset

The number of units in the activity. When gaining currency, quantity is positive and when losing currency, quantity is negative.

◆ Trade

virtual Trade EntityModel.FXTransaction.Trade
getset

◆ TradeID

int? EntityModel.FXTransaction.TradeID
getset

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler EntityModel.FXTransaction.PropertyChanged

The documentation for this class was generated from the following file: