CreateDerivedTransactionPortfolioRequest
More...
|
enum class | AccountingMethodEnum {
Default = 1
, AverageCost = 2
, FirstInFirstOut = 3
, LastInFirstOut = 4
,
HighestCostFirst = 5
, LowestCostFirst = 6
} |
| . The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst More...
|
|
|
| CreateDerivedTransactionPortfolioRequest (string displayName=default(string), string description=default(string), string code=default(string), ResourceId parentPortfolioId=default(ResourceId), DateTimeOffset? created=default(DateTimeOffset?), ResourceId corporateActionSourceId=default(ResourceId), AccountingMethodEnum? accountingMethod=default(AccountingMethodEnum?), List< string > subHoldingKeys=default(List< string >), List< string > instrumentScopes=default(List< string >), string amortisationMethod=default(string), string transactionTypeScope=default(string), string cashGainLossCalculationDate=default(string)) |
| Initializes a new instance of the CreateDerivedTransactionPortfolioRequest 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 (CreateDerivedTransactionPortfolioRequest input) |
| Returns true if CreateDerivedTransactionPortfolioRequest instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code More...
|
|
|
AccountingMethodEnum? | AccountingMethod [get, set] |
| . The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst More...
|
|
string | DisplayName [get, set] |
| The name of the derived transaction portfolio. More...
|
|
string | Description [get, set] |
| A description for the derived transaction portfolio. More...
|
|
string | Code [get, set] |
| The code of the derived transaction portfolio. Together with the scope this uniquely identifies the derived transaction portfolio. More...
|
|
ResourceId | ParentPortfolioId [get, set] |
| Gets or Sets ParentPortfolioId More...
|
|
DateTimeOffset? | Created [get, set] |
| This will be auto-populated to be the parent portfolio creation date. More...
|
|
ResourceId | CorporateActionSourceId [get, set] |
| Gets or Sets CorporateActionSourceId More...
|
|
List< string > | SubHoldingKeys [get, set] |
| A set of unique transaction properties to group the derived transaction portfolio's holdings by, perhaps for strategy tagging. Each property must be from the 'Transaction' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Transaction/strategies/quantsignal'. See https://support.lusid.com/knowledgebase/article/KA-01879/en-us for more information. More...
|
|
List< string > | InstrumentScopes [get, set] |
| The resolution strategy used to resolve instruments of transactions/holdings upserted to this derived portfolio. More...
|
|
string | AmortisationMethod [get, set] |
| The amortisation method the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'. More...
|
|
string | TransactionTypeScope [get, set] |
| The scope of the transaction types. More...
|
|
string | CashGainLossCalculationDate [get, set] |
| The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate. More...
|
|
◆ AccountingMethodEnum
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
Enumerator |
---|
Default | Enum Default for value: Default
|
AverageCost | Enum AverageCost for value: AverageCost
|
FirstInFirstOut | Enum FirstInFirstOut for value: FirstInFirstOut
|
LastInFirstOut | Enum LastInFirstOut for value: LastInFirstOut
|
HighestCostFirst | Enum HighestCostFirst for value: HighestCostFirst
|
LowestCostFirst | Enum LowestCostFirst for value: LowestCostFirst
|
◆ CreateDerivedTransactionPortfolioRequest() [1/2]
Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.CreateDerivedTransactionPortfolioRequest |
( |
| ) |
|
|
inlineprotected |
◆ CreateDerivedTransactionPortfolioRequest() [2/2]
Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.CreateDerivedTransactionPortfolioRequest |
( |
string |
displayName = default(string) , |
|
|
string |
description = default(string) , |
|
|
string |
code = default(string) , |
|
|
ResourceId |
parentPortfolioId = default(ResourceId) , |
|
|
DateTimeOffset? |
created = default(DateTimeOffset?) , |
|
|
ResourceId |
corporateActionSourceId = default(ResourceId) , |
|
|
AccountingMethodEnum? |
accountingMethod = default(AccountingMethodEnum?) , |
|
|
List< string > |
subHoldingKeys = default(List<string>) , |
|
|
List< string > |
instrumentScopes = default(List<string>) , |
|
|
string |
amortisationMethod = default(string) , |
|
|
string |
transactionTypeScope = default(string) , |
|
|
string |
cashGainLossCalculationDate = default(string) |
|
) |
| |
|
inline |
Initializes a new instance of the CreateDerivedTransactionPortfolioRequest class.
- Parameters
-
displayName | The name of the derived transaction portfolio. (required). |
description | A description for the derived transaction portfolio.. |
code | The code of the derived transaction portfolio. Together with the scope this uniquely identifies the derived transaction portfolio. (required). |
parentPortfolioId | parentPortfolioId (required). |
created | This will be auto-populated to be the parent portfolio creation date.. |
corporateActionSourceId | corporateActionSourceId. |
accountingMethod | . The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst. |
subHoldingKeys | A set of unique transaction properties to group the derived transaction portfolio's holdings by, perhaps for strategy tagging. Each property must be from the 'Transaction' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Transaction/strategies/quantsignal'. See https://support.lusid.com/knowledgebase/article/KA-01879/en-us for more information.. |
instrumentScopes | The resolution strategy used to resolve instruments of transactions/holdings upserted to this derived portfolio.. |
amortisationMethod | The amortisation method the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'.. |
transactionTypeScope | The scope of the transaction types.. |
cashGainLossCalculationDate | The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.. |
◆ Equals() [1/2]
◆ Equals() [2/2]
override bool Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ GetHashCode()
override int Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ AccountingMethod
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
◆ AmortisationMethod
string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.AmortisationMethod |
|
getset |
The amortisation method the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'.
The amortisation method the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'.
◆ CashGainLossCalculationDate
string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.CashGainLossCalculationDate |
|
getset |
The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.
The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.
◆ Code
string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.Code |
|
getset |
The code of the derived transaction portfolio. Together with the scope this uniquely identifies the derived transaction portfolio.
The code of the derived transaction portfolio. Together with the scope this uniquely identifies the derived transaction portfolio.
◆ CorporateActionSourceId
ResourceId Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.CorporateActionSourceId |
|
getset |
Gets or Sets CorporateActionSourceId
◆ Created
DateTimeOffset? Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.Created |
|
getset |
This will be auto-populated to be the parent portfolio creation date.
This will be auto-populated to be the parent portfolio creation date.
◆ Description
string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.Description |
|
getset |
A description for the derived transaction portfolio.
A description for the derived transaction portfolio.
◆ DisplayName
string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.DisplayName |
|
getset |
The name of the derived transaction portfolio.
The name of the derived transaction portfolio.
◆ InstrumentScopes
List<string> Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.InstrumentScopes |
|
getset |
The resolution strategy used to resolve instruments of transactions/holdings upserted to this derived portfolio.
The resolution strategy used to resolve instruments of transactions/holdings upserted to this derived portfolio.
◆ ParentPortfolioId
ResourceId Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.ParentPortfolioId |
|
getset |
Gets or Sets ParentPortfolioId
◆ SubHoldingKeys
List<string> Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.SubHoldingKeys |
|
getset |
A set of unique transaction properties to group the derived transaction portfolio's holdings by, perhaps for strategy tagging. Each property must be from the 'Transaction' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Transaction/strategies/quantsignal'. See https://support.lusid.com/knowledgebase/article/KA-01879/en-us for more information.
A set of unique transaction properties to group the derived transaction portfolio's holdings by, perhaps for strategy tagging. Each property must be from the 'Transaction' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Transaction/strategies/quantsignal'. See https://support.lusid.com/knowledgebase/article/KA-01879/en-us for more information.
◆ TransactionTypeScope
string Lusid.Sdk.Model.CreateDerivedTransactionPortfolioRequest.TransactionTypeScope |
|
getset |
The scope of the transaction types.
The scope of the transaction types.
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/CreateDerivedTransactionPortfolioRequest.cs