|
LUSID C# SDK
|
CreateDerivedTransactionPortfolioRequest More...

Public Types | |
| enum class | AccountingMethodEnum { Default = 1 , AverageCost = 2 , FirstInFirstOut = 3 , LastInFirstOut = 4 , HighestCostFirst = 5 , LowestCostFirst = 6 , ProRateByUnits = 7 , ProRateByCost = 8 , ProRateByCostPortfolioCurrency = 9 , IntraDayThenFirstInFirstOut = 10 , LongTermHighestCostFirst = 11 , LongTermHighestCostFirstPortfolioCurrency = 12 , HighestCostFirstPortfolioCurrency = 13 , LowestCostFirstPortfolioCurrency = 14 , MaximumLossMinimumGain = 15 , MaximumLossMinimumGainPortfolioCurrency = 16 } |
| Determines the accounting treatment given to the transaction portfolio's tax lots. Default value: AverageCost. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency. More... | |
Public Member Functions | |
| 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), ResourceId amortisationRuleSetId=default(ResourceId), InstrumentEventConfiguration instrumentEventConfiguration=default(InstrumentEventConfiguration), PortfolioSettlementConfiguration settlementConfiguration=default(PortfolioSettlementConfiguration)) | |
| 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... | |
Protected Member Functions | |
| CreateDerivedTransactionPortfolioRequest () | |
| Initializes a new instance of the CreateDerivedTransactionPortfolioRequest class. More... | |
Properties | |
| AccountingMethodEnum? | AccountingMethod [get, set] |
| Determines the accounting treatment given to the transaction portfolio's tax lots. Default value: AverageCost. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency. 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 used by the portfolio for the calculation. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate. 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. Default value: SettlementDate. Available values: Default, SettlementDate, TransactionDate. More... | |
| ResourceId | AmortisationRuleSetId [get, set] |
| Gets or Sets AmortisationRuleSetId More... | |
| InstrumentEventConfiguration | InstrumentEventConfiguration [get, set] |
| Gets or Sets InstrumentEventConfiguration More... | |
| PortfolioSettlementConfiguration | SettlementConfiguration [get, set] |
| Gets or Sets SettlementConfiguration More... | |
Determines the accounting treatment given to the transaction portfolio's tax lots. Default value: AverageCost. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.
Determines the accounting treatment given to the transaction portfolio's tax lots. Default value: AverageCost. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.
|
inlineprotected |
Initializes a new instance of the CreateDerivedTransactionPortfolioRequest class.
|
inline |
Initializes a new instance of the CreateDerivedTransactionPortfolioRequest class.
| 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 | Determines the accounting treatment given to the transaction portfolio's tax lots. Default value: AverageCost. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.. |
| 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 used by the portfolio for the calculation. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.. |
| transactionTypeScope | The scope of the transaction types.. |
| cashGainLossCalculationDate | The option when the Cash Gain Loss to be calulated. Default value: SettlementDate. Available values: Default, SettlementDate, TransactionDate.. |
| amortisationRuleSetId | amortisationRuleSetId. |
| instrumentEventConfiguration | instrumentEventConfiguration. |
| settlementConfiguration | settlementConfiguration. |
|
inline |
Returns true if CreateDerivedTransactionPortfolioRequest instances are equal
| input | Instance of CreateDerivedTransactionPortfolioRequest to be compared |
|
inline |
Returns true if objects are equal
| input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
Determines the accounting treatment given to the transaction portfolio's tax lots. Default value: AverageCost. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.
Determines the accounting treatment given to the transaction portfolio's tax lots. Default value: AverageCost. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.
|
getset |
The amortisation method used by the portfolio for the calculation. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.
The amortisation method used by the portfolio for the calculation. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.
|
getset |
Gets or Sets AmortisationRuleSetId
|
getset |
|
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.
|
getset |
Gets or Sets CorporateActionSourceId
|
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.
|
getset |
A description for the derived transaction portfolio.
A description for the derived transaction portfolio.
|
getset |
The name of the derived transaction portfolio.
The name of the derived transaction portfolio.
|
getset |
Gets or Sets InstrumentEventConfiguration
|
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.
|
getset |
Gets or Sets ParentPortfolioId
|
getset |
Gets or Sets SettlementConfiguration
|
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.
|
getset |
The scope of the transaction types.
The scope of the transaction types.