LUSID C# SDK
|
CreateTransactionPortfolioRequest More...
Public Types | |
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... | |
Public Member Functions | |
CreateTransactionPortfolioRequest (string displayName=default(string), string description=default(string), string code=default(string), DateTimeOffset? created=default(DateTimeOffset?), string baseCurrency=default(string), ResourceId corporateActionSourceId=default(ResourceId), AccountingMethodEnum? accountingMethod=default(AccountingMethodEnum?), List< string > subHoldingKeys=default(List< string >), Dictionary< string, Property > properties=default(Dictionary< string, Property >), List< string > instrumentScopes=default(List< string >), string amortisationMethod=default(string), string transactionTypeScope=default(string), string cashGainLossCalculationDate=default(string)) | |
Initializes a new instance of the CreateTransactionPortfolioRequest 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 (CreateTransactionPortfolioRequest input) |
Returns true if CreateTransactionPortfolioRequest instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
CreateTransactionPortfolioRequest () | |
Initializes a new instance of the CreateTransactionPortfolioRequest class. More... | |
Properties | |
AccountingMethodEnum? | AccountingMethod [get, set] |
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst More... | |
string | DisplayName [get, set] |
The name of the transaction portfolio. More... | |
string | Description [get, set] |
A description for the transaction portfolio. More... | |
string | Code [get, set] |
The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. More... | |
DateTimeOffset? | Created [get, set] |
The effective datetime at which to create the transaction portfolio. No transactions can be added to the transaction portfolio before this date. Defaults to the current LUSID system datetime if not specified. More... | |
string | BaseCurrency [get, set] |
The base currency of the transaction portfolio in ISO 4217 currency code format. More... | |
ResourceId | CorporateActionSourceId [get, set] |
Gets or Sets CorporateActionSourceId More... | |
List< string > | SubHoldingKeys [get, set] |
A set of unique transaction properties to group the 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... | |
Dictionary< string, Property > | Properties [get, set] |
A set of unique portfolio properties to add custom data to the transaction portfolio. Each property must be from the 'Portfolio' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Portfolio/Manager/Id'. Note these properties must be pre-defined. More... | |
List< string > | InstrumentScopes [get, set] |
The resolution strategy used to resolve instruments of transactions/holdings upserted to this 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... | |
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
|
inlineprotected |
Initializes a new instance of the CreateTransactionPortfolioRequest class.
|
inline |
Initializes a new instance of the CreateTransactionPortfolioRequest class.
displayName | The name of the transaction portfolio. (required). |
description | A description for the transaction portfolio.. |
code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. (required). |
created | The effective datetime at which to create the transaction portfolio. No transactions can be added to the transaction portfolio before this date. Defaults to the current LUSID system datetime if not specified.. |
baseCurrency | The base currency of the transaction portfolio in ISO 4217 currency code format. (required). |
corporateActionSourceId | corporateActionSourceId. |
accountingMethod | . The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst. |
subHoldingKeys | A set of unique transaction properties to group the 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.. |
properties | A set of unique portfolio properties to add custom data to the transaction portfolio. Each property must be from the 'Portfolio' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Portfolio/Manager/Id'. Note these properties must be pre-defined.. |
instrumentScopes | The resolution strategy used to resolve instruments of transactions/holdings upserted to this 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.. |
|
inline |
Returns true if CreateTransactionPortfolioRequest instances are equal
input | Instance of CreateTransactionPortfolioRequest 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 |
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst
|
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'.
|
getset |
The base currency of the transaction portfolio in ISO 4217 currency code format.
The base currency of the transaction portfolio in ISO 4217 currency code format.
|
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.
|
getset |
The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
|
getset |
Gets or Sets CorporateActionSourceId
|
getset |
The effective datetime at which to create the transaction portfolio. No transactions can be added to the transaction portfolio before this date. Defaults to the current LUSID system datetime if not specified.
The effective datetime at which to create the transaction portfolio. No transactions can be added to the transaction portfolio before this date. Defaults to the current LUSID system datetime if not specified.
|
getset |
A description for the transaction portfolio.
A description for the transaction portfolio.
|
getset |
The name of the transaction portfolio.
The name of the transaction portfolio.
|
getset |
The resolution strategy used to resolve instruments of transactions/holdings upserted to this portfolio.
The resolution strategy used to resolve instruments of transactions/holdings upserted to this portfolio.
|
getset |
A set of unique portfolio properties to add custom data to the transaction portfolio. Each property must be from the 'Portfolio' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Portfolio/Manager/Id'. Note these properties must be pre-defined.
A set of unique portfolio properties to add custom data to the transaction portfolio. Each property must be from the 'Portfolio' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Portfolio/Manager/Id'. Note these properties must be pre-defined.
|
getset |
A set of unique transaction properties to group the 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 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.