RealisedGainLoss
More...
|
string | InstrumentScope [get, set] |
| The scope in which the instrument lies. More...
|
|
string | InstrumentUid [get, set] |
| The unique Lusid Instrument Id (LUID) of the instrument that this gain or loss is associated with. More...
|
|
decimal | Units [get, set] |
| The number of units of the associated instrument against which the gain or loss has been realised. More...
|
|
DateTimeOffset? | PurchaseTradeDate [get] |
| The effective datetime that the units associated with this gain or loss where originally purchased. More...
|
|
DateTimeOffset? | PurchaseSettlementDate [get] |
| The effective datetime that the units associated with this gain or loss where originally settled. More...
|
|
decimal? | PurchasePrice [get, set] |
| The purchase price of each unit associated with this gain or loss. More...
|
|
CurrencyAndAmount | CostTradeCcy [get, set] |
| Gets or Sets CostTradeCcy More...
|
|
CurrencyAndAmount | CostPortfolioCcy [get, set] |
| Gets or Sets CostPortfolioCcy More...
|
|
CurrencyAndAmount | RealisedTradeCcy [get, set] |
| Gets or Sets RealisedTradeCcy More...
|
|
CurrencyAndAmount | RealisedTotal [get, set] |
| Gets or Sets RealisedTotal More...
|
|
CurrencyAndAmount | RealisedMarket [get, set] |
| Gets or Sets RealisedMarket More...
|
|
CurrencyAndAmount | RealisedCurrency [get, set] |
| Gets or Sets RealisedCurrency More...
|
|
◆ RealisedGainLoss() [1/2]
Lusid.Sdk.Model.RealisedGainLoss.RealisedGainLoss |
( |
| ) |
|
|
inlineprotected |
◆ RealisedGainLoss() [2/2]
Initializes a new instance of the RealisedGainLoss class.
- Parameters
-
instrumentScope | The scope in which the instrument lies.. |
instrumentUid | The unique Lusid Instrument Id (LUID) of the instrument that this gain or loss is associated with. (required). |
units | The number of units of the associated instrument against which the gain or loss has been realised. (required). |
purchasePrice | The purchase price of each unit associated with this gain or loss.. |
costTradeCcy | costTradeCcy (required). |
costPortfolioCcy | costPortfolioCcy (required). |
realisedTradeCcy | realisedTradeCcy (required). |
realisedTotal | realisedTotal (required). |
realisedMarket | realisedMarket. |
realisedCurrency | realisedCurrency. |
◆ Equals() [1/2]
override bool Lusid.Sdk.Model.RealisedGainLoss.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
◆ GetHashCode()
override int Lusid.Sdk.Model.RealisedGainLoss.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ShouldSerializePurchaseSettlementDate()
bool Lusid.Sdk.Model.RealisedGainLoss.ShouldSerializePurchaseSettlementDate |
( |
| ) |
|
|
inline |
Returns false as PurchaseSettlementDate should not be serialized given that it's read-only.
- Returns
- false (boolean)
◆ ShouldSerializePurchaseTradeDate()
bool Lusid.Sdk.Model.RealisedGainLoss.ShouldSerializePurchaseTradeDate |
( |
| ) |
|
|
inline |
Returns false as PurchaseTradeDate should not be serialized given that it's read-only.
- Returns
- false (boolean)
◆ ToJson()
virtual string Lusid.Sdk.Model.RealisedGainLoss.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.RealisedGainLoss.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ CostPortfolioCcy
Gets or Sets CostPortfolioCcy
◆ CostTradeCcy
Gets or Sets CostTradeCcy
◆ InstrumentScope
string Lusid.Sdk.Model.RealisedGainLoss.InstrumentScope |
|
getset |
The scope in which the instrument lies.
The scope in which the instrument lies.
◆ InstrumentUid
string Lusid.Sdk.Model.RealisedGainLoss.InstrumentUid |
|
getset |
The unique Lusid Instrument Id (LUID) of the instrument that this gain or loss is associated with.
The unique Lusid Instrument Id (LUID) of the instrument that this gain or loss is associated with.
◆ PurchasePrice
decimal? Lusid.Sdk.Model.RealisedGainLoss.PurchasePrice |
|
getset |
The purchase price of each unit associated with this gain or loss.
The purchase price of each unit associated with this gain or loss.
◆ PurchaseSettlementDate
DateTimeOffset? Lusid.Sdk.Model.RealisedGainLoss.PurchaseSettlementDate |
|
get |
The effective datetime that the units associated with this gain or loss where originally settled.
The effective datetime that the units associated with this gain or loss where originally settled.
◆ PurchaseTradeDate
DateTimeOffset? Lusid.Sdk.Model.RealisedGainLoss.PurchaseTradeDate |
|
get |
The effective datetime that the units associated with this gain or loss where originally purchased.
The effective datetime that the units associated with this gain or loss where originally purchased.
◆ RealisedCurrency
Gets or Sets RealisedCurrency
◆ RealisedMarket
Gets or Sets RealisedMarket
◆ RealisedTotal
Gets or Sets RealisedTotal
◆ RealisedTradeCcy
Gets or Sets RealisedTradeCcy
◆ Units
decimal Lusid.Sdk.Model.RealisedGainLoss.Units |
|
getset |
The number of units of the associated instrument against which the gain or loss has been realised.
The number of units of the associated instrument against which the gain or loss has been realised.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/RealisedGainLoss.cs