Specification for a holding or quantity of (weight for) an instrument on a given date.
More...
|
decimal | Quantity [get, set] |
| The quantity of the instrument that is owned. More...
|
|
string | HoldingIdentifier [get, set] |
| Identifier for the instrument. For a single, unique trade or transaction this can be thought of as equivalent to the transaction identifier, or a composite of the sub-holding keys for a regular sub-holding. When there are multiple transactions sharing the same underlying instrument such as purchase of shares on multiple dates where tax implications are different this would not be the case. In an inlined aggregation request if this is wanted to identify a line item, it can be specified in the set of aggregation keys given on the aggregation request that accompanies the set of weighted instruments. More...
|
|
LusidInstrument | Instrument [get, set] |
| Gets or Sets Instrument More...
|
|
Specification for a holding or quantity of (weight for) an instrument on a given date.
◆ WeightedInstrument()
Lusid.Sdk.Model.WeightedInstrument.WeightedInstrument |
( |
decimal |
quantity = default(decimal) , |
|
|
string |
holdingIdentifier = default(string) , |
|
|
LusidInstrument |
instrument = default(LusidInstrument) |
|
) |
| |
|
inline |
Initializes a new instance of the WeightedInstrument class.
- Parameters
-
quantity | The quantity of the instrument that is owned.. |
holdingIdentifier | Identifier for the instrument. For a single, unique trade or transaction this can be thought of as equivalent to the transaction identifier, or a composite of the sub-holding keys for a regular sub-holding. When there are multiple transactions sharing the same underlying instrument such as purchase of shares on multiple dates where tax implications are different this would not be the case. In an inlined aggregation request if this is wanted to identify a line item, it can be specified in the set of aggregation keys given on the aggregation request that accompanies the set of weighted instruments.. |
instrument | instrument. |
◆ Equals() [1/2]
override bool Lusid.Sdk.Model.WeightedInstrument.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.WeightedInstrument.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.WeightedInstrument.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.WeightedInstrument.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ HoldingIdentifier
string Lusid.Sdk.Model.WeightedInstrument.HoldingIdentifier |
|
getset |
Identifier for the instrument. For a single, unique trade or transaction this can be thought of as equivalent to the transaction identifier, or a composite of the sub-holding keys for a regular sub-holding. When there are multiple transactions sharing the same underlying instrument such as purchase of shares on multiple dates where tax implications are different this would not be the case. In an inlined aggregation request if this is wanted to identify a line item, it can be specified in the set of aggregation keys given on the aggregation request that accompanies the set of weighted instruments.
Identifier for the instrument. For a single, unique trade or transaction this can be thought of as equivalent to the transaction identifier, or a composite of the sub-holding keys for a regular sub-holding. When there are multiple transactions sharing the same underlying instrument such as purchase of shares on multiple dates where tax implications are different this would not be the case. In an inlined aggregation request if this is wanted to identify a line item, it can be specified in the set of aggregation keys given on the aggregation request that accompanies the set of weighted instruments.
◆ Instrument
◆ Quantity
decimal Lusid.Sdk.Model.WeightedInstrument.Quantity |
|
getset |
The quantity of the instrument that is owned.
The quantity of the instrument that is owned.
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/WeightedInstrument.cs