A list of holdings.
More...
|
| | PortfolioHolding (string instrumentUid=default(string), Dictionary< string, PerpetualProperty > subHoldingKeys=default(Dictionary< string, PerpetualProperty >), Dictionary< string, Property > properties=default(Dictionary< string, Property >), string holdingType=default(string), decimal units=default(decimal), decimal settledUnits=default(decimal), CurrencyAndAmount cost=default(CurrencyAndAmount), CurrencyAndAmount costPortfolioCcy=default(CurrencyAndAmount), Transaction transaction=default(Transaction), string currency=default(string)) |
| | Initializes a new instance of the PortfolioHolding class. More...
|
| |
| override string | ToString () |
| | Returns the string presentation of the object More...
|
| |
| virtual string | ToJson () |
| | Returns the JSON string presentation of the object More...
|
| |
| override bool | Equals (object input) |
| | Returns true if objects are equal More...
|
| |
| bool | Equals (PortfolioHolding input) |
| | Returns true if PortfolioHolding instances are equal More...
|
| |
| override int | GetHashCode () |
| | Gets the hash code More...
|
| |
|
| string | InstrumentUid [get, set] |
| | The unique Lusid Instrument Id (LUID) of the instrument that the holding is in. More...
|
| |
| Dictionary< string, PerpetualProperty > | SubHoldingKeys [get, set] |
| | The sub-holding properties which identify the holding. Each property will be from the 'Transaction' domain. These are configured when a transaction portfolio is created. More...
|
| |
| Dictionary< string, Property > | Properties [get, set] |
| | The properties which have been requested to be decorated onto the holding. These will be from the 'Instrument' or 'Holding' domain. More...
|
| |
| string | HoldingType [get, set] |
| | The type of the holding e.g. Position, Balance, CashCommitment, Receivable, ForwardFX etc. More...
|
| |
| decimal | Units [get, set] |
| | The total number of units of the holding. More...
|
| |
| decimal | SettledUnits [get, set] |
| | The total number of settled units of the holding. More...
|
| |
| CurrencyAndAmount | Cost [get, set] |
| | Gets or Sets Cost More...
|
| |
| CurrencyAndAmount | CostPortfolioCcy [get, set] |
| | Gets or Sets CostPortfolioCcy More...
|
| |
| Transaction | Transaction [get, set] |
| | Gets or Sets Transaction More...
|
| |
| string | Currency [get, set] |
| | The holding currency. More...
|
| |
◆ PortfolioHolding() [1/2]
| Lusid.Sdk.Model.PortfolioHolding.PortfolioHolding |
( |
| ) |
|
|
inlineprotected |
◆ PortfolioHolding() [2/2]
| Lusid.Sdk.Model.PortfolioHolding.PortfolioHolding |
( |
string |
instrumentUid = default(string), |
|
|
Dictionary< string, PerpetualProperty > |
subHoldingKeys = default(Dictionary<string, PerpetualProperty>), |
|
|
Dictionary< string, Property > |
properties = default(Dictionary<string, Property>), |
|
|
string |
holdingType = default(string), |
|
|
decimal |
units = default(decimal), |
|
|
decimal |
settledUnits = default(decimal), |
|
|
CurrencyAndAmount |
cost = default(CurrencyAndAmount), |
|
|
CurrencyAndAmount |
costPortfolioCcy = default(CurrencyAndAmount), |
|
|
Transaction |
transaction = default(Transaction), |
|
|
string |
currency = default(string) |
|
) |
| |
|
inline |
Initializes a new instance of the PortfolioHolding class.
- Parameters
-
| instrumentUid | The unique Lusid Instrument Id (LUID) of the instrument that the holding is in. (required). |
| subHoldingKeys | The sub-holding properties which identify the holding. Each property will be from the 'Transaction' domain. These are configured when a transaction portfolio is created.. |
| properties | The properties which have been requested to be decorated onto the holding. These will be from the 'Instrument' or 'Holding' domain.. |
| holdingType | The type of the holding e.g. Position, Balance, CashCommitment, Receivable, ForwardFX etc. (required). |
| units | The total number of units of the holding. (required). |
| settledUnits | The total number of settled units of the holding. (required). |
| cost | cost (required). |
| costPortfolioCcy | costPortfolioCcy (required). |
| transaction | transaction. |
| currency | The holding currency.. |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.PortfolioHolding.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.PortfolioHolding.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.PortfolioHolding.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.PortfolioHolding.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Cost
◆ CostPortfolioCcy
Gets or Sets CostPortfolioCcy
◆ Currency
| string Lusid.Sdk.Model.PortfolioHolding.Currency |
|
getset |
The holding currency.
The holding currency.
◆ HoldingType
| string Lusid.Sdk.Model.PortfolioHolding.HoldingType |
|
getset |
The type of the holding e.g. Position, Balance, CashCommitment, Receivable, ForwardFX etc.
The type of the holding e.g. Position, Balance, CashCommitment, Receivable, ForwardFX etc.
◆ InstrumentUid
| string Lusid.Sdk.Model.PortfolioHolding.InstrumentUid |
|
getset |
The unique Lusid Instrument Id (LUID) of the instrument that the holding is in.
The unique Lusid Instrument Id (LUID) of the instrument that the holding is in.
◆ Properties
| Dictionary<string, Property> Lusid.Sdk.Model.PortfolioHolding.Properties |
|
getset |
The properties which have been requested to be decorated onto the holding. These will be from the 'Instrument' or 'Holding' domain.
The properties which have been requested to be decorated onto the holding. These will be from the 'Instrument' or 'Holding' domain.
◆ SettledUnits
| decimal Lusid.Sdk.Model.PortfolioHolding.SettledUnits |
|
getset |
The total number of settled units of the holding.
The total number of settled units of the holding.
◆ SubHoldingKeys
| Dictionary<string, PerpetualProperty> Lusid.Sdk.Model.PortfolioHolding.SubHoldingKeys |
|
getset |
The sub-holding properties which identify the holding. Each property will be from the 'Transaction' domain. These are configured when a transaction portfolio is created.
The sub-holding properties which identify the holding. Each property will be from the 'Transaction' domain. These are configured when a transaction portfolio is created.
◆ Transaction
| Transaction Lusid.Sdk.Model.PortfolioHolding.Transaction |
|
getset |
◆ Units
| decimal Lusid.Sdk.Model.PortfolioHolding.Units |
|
getset |
The total number of units of the holding.
The total number of units of the holding.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/stable/sdk/Lusid.Sdk/Model/PortfolioHolding.cs