|
LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...

Public Member Functions | |
| AdjustHolding | AdjustHoldings (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >)) |
| Adjust holdings More... | |
| ApiResponse< AdjustHolding > | AdjustHoldingsWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >)) |
| Adjust holdings More... | |
| VersionedResourceListOfOutputTransaction | BuildTransactions (string scope, string code, TransactionQueryParameters transactionQueryParameters, DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), List< string > propertyKeys=default(List< string >), int? limit=default(int?), string page=default(string)) |
| Build transactions More... | |
| ApiResponse< VersionedResourceListOfOutputTransaction > | BuildTransactionsWithHttpInfo (string scope, string code, TransactionQueryParameters transactionQueryParameters, DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), List< string > propertyKeys=default(List< string >), int? limit=default(int?), string page=default(string)) |
| Build transactions More... | |
| DeletedEntityResponse | CancelAdjustHoldings (string scope, string code, DateTimeOrCutLabel effectiveAt) |
| Cancel adjust holdings More... | |
| ApiResponse< DeletedEntityResponse > | CancelAdjustHoldingsWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt) |
| Cancel adjust holdings More... | |
| DeletedEntityResponse | CancelTransactions (string scope, string code, List< string > transactionIds) |
| Cancel transactions More... | |
| ApiResponse< DeletedEntityResponse > | CancelTransactionsWithHttpInfo (string scope, string code, List< string > transactionIds) |
| Cancel transactions More... | |
| Portfolio | CreatePortfolio (string scope, CreateTransactionPortfolioRequest createTransactionPortfolioRequest) |
| Create portfolio More... | |
| ApiResponse< Portfolio > | CreatePortfolioWithHttpInfo (string scope, CreateTransactionPortfolioRequest createTransactionPortfolioRequest) |
| Create portfolio More... | |
| DeletedEntityResponse | DeletePropertiesFromTransaction (string scope, string code, string transactionId, List< string > propertyKeys) |
| Delete properties from transaction More... | |
| ApiResponse< DeletedEntityResponse > | DeletePropertiesFromTransactionWithHttpInfo (string scope, string code, string transactionId, List< string > propertyKeys) |
| Delete properties from transaction More... | |
| PortfolioDetails | GetDetails (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?)) |
| Get details More... | |
| ApiResponse< PortfolioDetails > | GetDetailsWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?)) |
| Get details More... | |
| VersionedResourceListOfPortfolioHolding | GetHoldings (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), List< string > propertyKeys=default(List< string >), bool? byTaxlots=default(bool?)) |
| Get holdings More... | |
| ApiResponse< VersionedResourceListOfPortfolioHolding > | GetHoldingsWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), List< string > propertyKeys=default(List< string >), bool? byTaxlots=default(bool?)) |
| Get holdings More... | |
| HoldingsAdjustment | GetHoldingsAdjustment (string scope, string code, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?)) |
| Get holdings adjustment More... | |
| ApiResponse< HoldingsAdjustment > | GetHoldingsAdjustmentWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?)) |
| Get holdings adjustment More... | |
| ResourceListOfPortfolioCashFlow | GetPortfolioCashStatement (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), string recipeIdScope=default(string), string recipeIdCode=default(string)) |
| [EARLY ACCESS] Get portfolio cash statement More... | |
| ApiResponse< ResourceListOfPortfolioCashFlow > | GetPortfolioCashStatementWithHttpInfo (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), string recipeIdScope=default(string), string recipeIdCode=default(string)) |
| [EARLY ACCESS] Get portfolio cash statement More... | |
| VersionedResourceListOfTransaction | GetTransactions (string scope, string code, DateTimeOrCutLabel fromTransactionDate=default(DateTimeOrCutLabel), DateTimeOrCutLabel toTransactionDate=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), List< string > propertyKeys=default(List< string >), string page=default(string), int? limit=default(int?)) |
| Get transactions More... | |
| ApiResponse< VersionedResourceListOfTransaction > | GetTransactionsWithHttpInfo (string scope, string code, DateTimeOrCutLabel fromTransactionDate=default(DateTimeOrCutLabel), DateTimeOrCutLabel toTransactionDate=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), List< string > propertyKeys=default(List< string >), string page=default(string), int? limit=default(int?)) |
| Get transactions More... | |
| ResourceListOfHoldingsAdjustmentHeader | ListHoldingsAdjustments (string scope, string code, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?)) |
| List holdings adjustments More... | |
| ApiResponse< ResourceListOfHoldingsAdjustmentHeader > | ListHoldingsAdjustmentsWithHttpInfo (string scope, string code, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?)) |
| List holdings adjustments More... | |
| UpsertPortfolioTransactionsResponse | ResolveInstrument (string scope, string code, string instrumentIdentifierType, string instrumentIdentifierValue, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), Dictionary< string, string > requestBody=default(Dictionary< string, string >)) |
| [EARLY ACCESS] Resolve instrument More... | |
| ApiResponse< UpsertPortfolioTransactionsResponse > | ResolveInstrumentWithHttpInfo (string scope, string code, string instrumentIdentifierType, string instrumentIdentifierValue, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), Dictionary< string, string > requestBody=default(Dictionary< string, string >)) |
| [EARLY ACCESS] Resolve instrument More... | |
| AdjustHolding | SetHoldings (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >)) |
| Set holdings More... | |
| ApiResponse< AdjustHolding > | SetHoldingsWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >)) |
| Set holdings More... | |
| PortfolioDetails | UpsertPortfolioDetails (string scope, string code, CreatePortfolioDetails createPortfolioDetails, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel)) |
| Upsert portfolio details More... | |
| ApiResponse< PortfolioDetails > | UpsertPortfolioDetailsWithHttpInfo (string scope, string code, CreatePortfolioDetails createPortfolioDetails, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel)) |
| Upsert portfolio details More... | |
| UpsertTransactionPropertiesResponse | UpsertTransactionProperties (string scope, string code, string transactionId, Dictionary< string, PerpetualProperty > requestBody) |
| Upsert transaction properties More... | |
| ApiResponse< UpsertTransactionPropertiesResponse > | UpsertTransactionPropertiesWithHttpInfo (string scope, string code, string transactionId, Dictionary< string, PerpetualProperty > requestBody) |
| Upsert transaction properties More... | |
| UpsertPortfolioTransactionsResponse | UpsertTransactions (string scope, string code, List< TransactionRequest > transactionRequest) |
| Upsert transactions More... | |
| ApiResponse< UpsertPortfolioTransactionsResponse > | UpsertTransactionsWithHttpInfo (string scope, string code, List< TransactionRequest > transactionRequest) |
| Upsert transactions More... | |
Public Member Functions inherited from Lusid.Sdk.Client.IApiAccessor | |
| String | GetBasePath () |
| Gets the base path of the API client. More... | |
Additional Inherited Members | |
Properties inherited from Lusid.Sdk.Client.IApiAccessor | |
| IReadableConfiguration | Configuration [get, set] |
| Gets or sets the configuration object More... | |
| ExceptionFactory | ExceptionFactory [get, set] |
| Provides a factory method hook for the creation of exceptions. More... | |
Represents a collection of functions to interact with the API endpoints
| AdjustHolding Lusid.Sdk.Api.ITransactionPortfoliosApiSync.AdjustHoldings | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt, | ||
| List< AdjustHoldingRequest > | adjustHoldingRequest, | ||
| List< string > | reconciliationMethods = default(List< string >) |
||
| ) |
Adjust holdings
Adjust one or more holdings of the specified transaction portfolio to the provided targets. LUSID will automatically construct adjustment transactions to ensure that the holdings which have been adjusted are always set to the provided targets for the specified effective datetime. Read more about the difference between adjusting and setting holdings here https://support.lusid.com/how-do-i-adjust-my-holdings.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the holdings should be set to the provided targets. |
| adjustHoldingRequest | The selected set of holdings to adjust to the provided targets for the transaction portfolio. |
| reconciliationMethods | Optional parameter for specifying a reconciliation method: e.g. FxForward. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<AdjustHolding> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.AdjustHoldingsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt, | ||
| List< AdjustHoldingRequest > | adjustHoldingRequest, | ||
| List< string > | reconciliationMethods = default(List< string >) |
||
| ) |
Adjust holdings
Adjust one or more holdings of the specified transaction portfolio to the provided targets. LUSID will automatically construct adjustment transactions to ensure that the holdings which have been adjusted are always set to the provided targets for the specified effective datetime. Read more about the difference between adjusting and setting holdings here https://support.lusid.com/how-do-i-adjust-my-holdings.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the holdings should be set to the provided targets. |
| adjustHoldingRequest | The selected set of holdings to adjust to the provided targets for the transaction portfolio. |
| reconciliationMethods | Optional parameter for specifying a reconciliation method: e.g. FxForward. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| VersionedResourceListOfOutputTransaction Lusid.Sdk.Api.ITransactionPortfoliosApiSync.BuildTransactions | ( | string | scope, |
| string | code, | ||
| TransactionQueryParameters | transactionQueryParameters, | ||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| List< string > | propertyKeys = default(List< string >), |
||
| int? | limit = default(int?), |
||
| string | page = default(string) |
||
| ) |
Build transactions
Builds and returns all transactions that affect the holdings of a portfolio over a given interval of effective time into a set of output transactions. This includes transactions automatically generated by LUSID such as holding adjustments.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionQueryParameters | The query queryParameters which control how the output transactions are built. |
| asAt | The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional) |
| filter | Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify "type eq 'Buy'". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| propertyKeys | A list of property keys from the "Instrument" or "Transaction" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. "Instrument/system/Name" or "Transaction/strategy/quantsignal". (optional) |
| limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
| page | The pagination token to use to continue listing transactions from a previous call to BuildTransactions. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<VersionedResourceListOfOutputTransaction> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.BuildTransactionsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| TransactionQueryParameters | transactionQueryParameters, | ||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| List< string > | propertyKeys = default(List< string >), |
||
| int? | limit = default(int?), |
||
| string | page = default(string) |
||
| ) |
Build transactions
Builds and returns all transactions that affect the holdings of a portfolio over a given interval of effective time into a set of output transactions. This includes transactions automatically generated by LUSID such as holding adjustments.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionQueryParameters | The query queryParameters which control how the output transactions are built. |
| asAt | The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional) |
| filter | Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify "type eq 'Buy'". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| propertyKeys | A list of property keys from the "Instrument" or "Transaction" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. "Instrument/system/Name" or "Transaction/strategy/quantsignal". (optional) |
| limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
| page | The pagination token to use to continue listing transactions from a previous call to BuildTransactions. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| DeletedEntityResponse Lusid.Sdk.Api.ITransactionPortfoliosApiSync.CancelAdjustHoldings | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt | ||
| ) |
Cancel adjust holdings
Cancel all previous holding adjustments made on the specified transaction portfolio for a specified effective datetime. This should be used to undo holding adjustments made via set holdings or adjust holdings.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the holding adjustments should be undone. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.CancelAdjustHoldingsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt | ||
| ) |
Cancel adjust holdings
Cancel all previous holding adjustments made on the specified transaction portfolio for a specified effective datetime. This should be used to undo holding adjustments made via set holdings or adjust holdings.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the holding adjustments should be undone. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| DeletedEntityResponse Lusid.Sdk.Api.ITransactionPortfoliosApiSync.CancelTransactions | ( | string | scope, |
| string | code, | ||
| List< string > | transactionIds | ||
| ) |
Cancel transactions
Cancel one or more transactions from the transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionIds | The IDs of the transactions to cancel. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.CancelTransactionsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| List< string > | transactionIds | ||
| ) |
Cancel transactions
Cancel one or more transactions from the transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionIds | The IDs of the transactions to cancel. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| Portfolio Lusid.Sdk.Api.ITransactionPortfoliosApiSync.CreatePortfolio | ( | string | scope, |
| CreateTransactionPortfolioRequest | createTransactionPortfolioRequest | ||
| ) |
Create portfolio
Create a transaction portfolio in a particular scope.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope in which to create the transaction portfolio. |
| createTransactionPortfolioRequest | The definition of the transaction portfolio. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<Portfolio> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.CreatePortfolioWithHttpInfo | ( | string | scope, |
| CreateTransactionPortfolioRequest | createTransactionPortfolioRequest | ||
| ) |
Create portfolio
Create a transaction portfolio in a particular scope.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope in which to create the transaction portfolio. |
| createTransactionPortfolioRequest | The definition of the transaction portfolio. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| DeletedEntityResponse Lusid.Sdk.Api.ITransactionPortfoliosApiSync.DeletePropertiesFromTransaction | ( | string | scope, |
| string | code, | ||
| string | transactionId, | ||
| List< string > | propertyKeys | ||
| ) |
Delete properties from transaction
Delete one or more properties from a single transaction in a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionId | The unique ID of the transaction from which to delete properties. |
| propertyKeys | The property keys of the properties to delete. These must be from the "Transaction" domain and have the format {domain}/{scope}/{code}, for example "Transaction/strategy/quantsignal". |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.DeletePropertiesFromTransactionWithHttpInfo | ( | string | scope, |
| string | code, | ||
| string | transactionId, | ||
| List< string > | propertyKeys | ||
| ) |
Delete properties from transaction
Delete one or more properties from a single transaction in a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionId | The unique ID of the transaction from which to delete properties. |
| propertyKeys | The property keys of the properties to delete. These must be from the "Transaction" domain and have the format {domain}/{scope}/{code}, for example "Transaction/strategy/quantsignal". |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| PortfolioDetails Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetDetails | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?) |
||
| ) |
Get details
Get certain details associated with a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which to retrieve the details of the transaction portfolio. Defaults to the current LUSID system datetime if not specified. (optional) |
| asAt | The asAt datetime at which to retrieve the details of the transaction portfolio. Defaults to returning the latest version of the details if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<PortfolioDetails> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetDetailsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?) |
||
| ) |
Get details
Get certain details associated with a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which to retrieve the details of the transaction portfolio. Defaults to the current LUSID system datetime if not specified. (optional) |
| asAt | The asAt datetime at which to retrieve the details of the transaction portfolio. Defaults to returning the latest version of the details if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| VersionedResourceListOfPortfolioHolding Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetHoldings | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| List< string > | propertyKeys = default(List< string >), |
||
| bool? | byTaxlots = default(bool?) |
||
| ) |
Get holdings
Calculate holdings for a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which to retrieve the holdings of the transaction portfolio. Defaults to the current LUSID system datetime if not specified. (optional) |
| asAt | The asAt datetime at which to retrieve the holdings of the transaction portfolio. Defaults to return the latest version if not specified. (optional) |
| filter | Expression to filter the result set. For example, to filter on the Holding Type, use "holdingType eq 'p'". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| propertyKeys | A list of property keys from the "Instrument" or "Holding" domain to decorate onto holdings. These must have the format {domain}/{scope}/{code}, for example "Instrument/system/Name" or "Holding/system/Cost". (optional) |
| byTaxlots | Whether or not to expand the holdings to return the underlying tax-lots. Defaults to False. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| HoldingsAdjustment Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetHoldingsAdjustment | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt, | ||
| DateTimeOffset? | asAt = default(DateTimeOffset?) |
||
| ) |
Get holdings adjustment
Get a holdings adjustment made to a transaction portfolio at a specific effective datetime. Note that a holdings adjustment will only be returned if one exists for the specified effective datetime.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label of the holdings adjustment. |
| asAt | The asAt datetime at which to retrieve the holdings adjustment. Defaults to the return the latest version of the holdings adjustment if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<HoldingsAdjustment> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetHoldingsAdjustmentWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt, | ||
| DateTimeOffset? | asAt = default(DateTimeOffset?) |
||
| ) |
Get holdings adjustment
Get a holdings adjustment made to a transaction portfolio at a specific effective datetime. Note that a holdings adjustment will only be returned if one exists for the specified effective datetime.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label of the holdings adjustment. |
| asAt | The asAt datetime at which to retrieve the holdings adjustment. Defaults to the return the latest version of the holdings adjustment if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<VersionedResourceListOfPortfolioHolding> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetHoldingsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| List< string > | propertyKeys = default(List< string >), |
||
| bool? | byTaxlots = default(bool?) |
||
| ) |
Get holdings
Calculate holdings for a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which to retrieve the holdings of the transaction portfolio. Defaults to the current LUSID system datetime if not specified. (optional) |
| asAt | The asAt datetime at which to retrieve the holdings of the transaction portfolio. Defaults to return the latest version if not specified. (optional) |
| filter | Expression to filter the result set. For example, to filter on the Holding Type, use "holdingType eq 'p'". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| propertyKeys | A list of property keys from the "Instrument" or "Holding" domain to decorate onto holdings. These must have the format {domain}/{scope}/{code}, for example "Instrument/system/Name" or "Holding/system/Cost". (optional) |
| byTaxlots | Whether or not to expand the holdings to return the underlying tax-lots. Defaults to False. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ResourceListOfPortfolioCashFlow Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetPortfolioCashStatement | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | fromEffectiveAt, | ||
| DateTimeOrCutLabel | toEffectiveAt, | ||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| string | recipeIdScope = default(string), |
||
| string | recipeIdCode = default(string) |
||
| ) |
[EARLY ACCESS] Get portfolio cash statement
Get a cash statement for a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio. |
| fromEffectiveAt | The lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified. |
| toEffectiveAt | The upper bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no upper bound if this is not specified. |
| asAt | The asAt datetime at which to retrieve the portfolio. Defaults to returning the latest version of each transaction if not specified. (optional) |
| filter | Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify "type eq 'Buy'". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| recipeIdScope | The scope of the given recipeId (optional) |
| recipeIdCode | The code of the given recipeID (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<ResourceListOfPortfolioCashFlow> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetPortfolioCashStatementWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | fromEffectiveAt, | ||
| DateTimeOrCutLabel | toEffectiveAt, | ||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| string | recipeIdScope = default(string), |
||
| string | recipeIdCode = default(string) |
||
| ) |
[EARLY ACCESS] Get portfolio cash statement
Get a cash statement for a transaction portfolio.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio. |
| fromEffectiveAt | The lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified. |
| toEffectiveAt | The upper bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no upper bound if this is not specified. |
| asAt | The asAt datetime at which to retrieve the portfolio. Defaults to returning the latest version of each transaction if not specified. (optional) |
| filter | Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify "type eq 'Buy'". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| recipeIdScope | The scope of the given recipeId (optional) |
| recipeIdCode | The code of the given recipeID (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| VersionedResourceListOfTransaction Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetTransactions | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | fromTransactionDate = default(DateTimeOrCutLabel), |
||
| DateTimeOrCutLabel | toTransactionDate = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| List< string > | propertyKeys = default(List< string >), |
||
| string | page = default(string), |
||
| int? | limit = default(int?) |
||
| ) |
Get transactions
Retrieve all the transactions that occurred during a particular time interval. If the portfolio is a derived transaction portfolio, the transactions returned are the union set of all transactions of the parent (and any grandparents, etc.) as well as those of the derived transaction portfolio itself.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| fromTransactionDate | The lower bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no lower bound if this is not specified. (optional) |
| toTransactionDate | The upper bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no upper bound if this is not specified. (optional) |
| asAt | The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified. (optional) |
| filter | Expression with which to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify "type eq 'Buy'" For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| propertyKeys | A list of property keys from the 'Instrument' or 'Transaction' domain to decorate onto transactions. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name' or 'Transaction/strategy/quantsignal'. (optional) |
| page | The pagination token to use to continue listing transactions from a previous call to GetTransactions. (optional) |
| limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<VersionedResourceListOfTransaction> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.GetTransactionsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | fromTransactionDate = default(DateTimeOrCutLabel), |
||
| DateTimeOrCutLabel | toTransactionDate = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?), |
||
| string | filter = default(string), |
||
| List< string > | propertyKeys = default(List< string >), |
||
| string | page = default(string), |
||
| int? | limit = default(int?) |
||
| ) |
Get transactions
Retrieve all the transactions that occurred during a particular time interval. If the portfolio is a derived transaction portfolio, the transactions returned are the union set of all transactions of the parent (and any grandparents, etc.) as well as those of the derived transaction portfolio itself.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| fromTransactionDate | The lower bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no lower bound if this is not specified. (optional) |
| toTransactionDate | The upper bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no upper bound if this is not specified. (optional) |
| asAt | The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified. (optional) |
| filter | Expression with which to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify "type eq 'Buy'" For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
| propertyKeys | A list of property keys from the 'Instrument' or 'Transaction' domain to decorate onto transactions. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name' or 'Transaction/strategy/quantsignal'. (optional) |
| page | The pagination token to use to continue listing transactions from a previous call to GetTransactions. (optional) |
| limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ResourceListOfHoldingsAdjustmentHeader Lusid.Sdk.Api.ITransactionPortfoliosApiSync.ListHoldingsAdjustments | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | fromEffectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOrCutLabel | toEffectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?) |
||
| ) |
List holdings adjustments
List the holdings adjustments made to the specified transaction portfolio over a specified interval of effective time.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| fromEffectiveAt | The lower bound effective datetime or cut label (inclusive) from which to retrieve the holdings adjustments. There is no lower bound if this is not specified. (optional) |
| toEffectiveAt | The upper bound effective datetime or cut label (inclusive) from which to retrieve the holdings adjustments. There is no upper bound if this is not specified. (optional) |
| asAt | The asAt datetime at which to retrieve the holdings adjustments. Defaults to return the latest version of each holding adjustment if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<ResourceListOfHoldingsAdjustmentHeader> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.ListHoldingsAdjustmentsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | fromEffectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOrCutLabel | toEffectiveAt = default(DateTimeOrCutLabel), |
||
| DateTimeOffset? | asAt = default(DateTimeOffset?) |
||
| ) |
List holdings adjustments
List the holdings adjustments made to the specified transaction portfolio over a specified interval of effective time.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| fromEffectiveAt | The lower bound effective datetime or cut label (inclusive) from which to retrieve the holdings adjustments. There is no lower bound if this is not specified. (optional) |
| toEffectiveAt | The upper bound effective datetime or cut label (inclusive) from which to retrieve the holdings adjustments. There is no upper bound if this is not specified. (optional) |
| asAt | The asAt datetime at which to retrieve the holdings adjustments. Defaults to return the latest version of each holding adjustment if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| UpsertPortfolioTransactionsResponse Lusid.Sdk.Api.ITransactionPortfoliosApiSync.ResolveInstrument | ( | string | scope, |
| string | code, | ||
| string | instrumentIdentifierType, | ||
| string | instrumentIdentifierValue, | ||
| DateTimeOrCutLabel | fromEffectiveAt = default(DateTimeOrCutLabel), |
||
| Dictionary< string, string > | requestBody = default(Dictionary< string, string >) |
||
| ) |
[EARLY ACCESS] Resolve instrument
Try to resolve the instrument for transaction and holdings for a given instrument identifier and a specified period of time. Also update the instrument identifiers with the given instrument identifiers collection.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| instrumentIdentifierType | The instrument identifier type. |
| instrumentIdentifierValue | The value for the given instrument identifier. |
| fromEffectiveAt | The lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified. (optional) |
| requestBody | The dictionary with the instrument identifiers to be updated on the transaction and holdings. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<UpsertPortfolioTransactionsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.ResolveInstrumentWithHttpInfo | ( | string | scope, |
| string | code, | ||
| string | instrumentIdentifierType, | ||
| string | instrumentIdentifierValue, | ||
| DateTimeOrCutLabel | fromEffectiveAt = default(DateTimeOrCutLabel), |
||
| Dictionary< string, string > | requestBody = default(Dictionary< string, string >) |
||
| ) |
[EARLY ACCESS] Resolve instrument
Try to resolve the instrument for transaction and holdings for a given instrument identifier and a specified period of time. Also update the instrument identifiers with the given instrument identifiers collection.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| instrumentIdentifierType | The instrument identifier type. |
| instrumentIdentifierValue | The value for the given instrument identifier. |
| fromEffectiveAt | The lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified. (optional) |
| requestBody | The dictionary with the instrument identifiers to be updated on the transaction and holdings. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| AdjustHolding Lusid.Sdk.Api.ITransactionPortfoliosApiSync.SetHoldings | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt, | ||
| List< AdjustHoldingRequest > | adjustHoldingRequest, | ||
| List< string > | reconciliationMethods = default(List< string >) |
||
| ) |
Set holdings
Set the holdings of the specified transaction portfolio to the provided targets. LUSID will automatically construct adjustment transactions to ensure that the entire set of holdings for the transaction portfolio are always set to the provided targets for the specified effective datetime. Read more about the difference between adjusting and setting holdings here https://support.lusid.com/how-do-i-adjust-my-holdings.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the holdings should be set to the provided targets. |
| adjustHoldingRequest | The complete set of target holdings for the transaction portfolio. |
| reconciliationMethods | Optional parameter for specifying a reconciliation method: e.g. FxForward. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<AdjustHolding> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.SetHoldingsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| DateTimeOrCutLabel | effectiveAt, | ||
| List< AdjustHoldingRequest > | adjustHoldingRequest, | ||
| List< string > | reconciliationMethods = default(List< string >) |
||
| ) |
Set holdings
Set the holdings of the specified transaction portfolio to the provided targets. LUSID will automatically construct adjustment transactions to ensure that the entire set of holdings for the transaction portfolio are always set to the provided targets for the specified effective datetime. Read more about the difference between adjusting and setting holdings here https://support.lusid.com/how-do-i-adjust-my-holdings.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the holdings should be set to the provided targets. |
| adjustHoldingRequest | The complete set of target holdings for the transaction portfolio. |
| reconciliationMethods | Optional parameter for specifying a reconciliation method: e.g. FxForward. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| PortfolioDetails Lusid.Sdk.Api.ITransactionPortfoliosApiSync.UpsertPortfolioDetails | ( | string | scope, |
| string | code, | ||
| CreatePortfolioDetails | createPortfolioDetails, | ||
| DateTimeOrCutLabel | effectiveAt = default(DateTimeOrCutLabel) |
||
| ) |
Upsert portfolio details
Create or update certain details for a particular transaction portfolio. The details are updated if they already exist, and inserted if they do not. Note that not all elements of a transaction portfolio definition are modifiable once it has been created due to the potential implications for data already stored.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| createPortfolioDetails | The details to create or update for the specified transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the updated or inserted details should become valid. Defaults to the current LUSID system datetime if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<PortfolioDetails> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.UpsertPortfolioDetailsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| CreatePortfolioDetails | createPortfolioDetails, | ||
| DateTimeOrCutLabel | effectiveAt = default(DateTimeOrCutLabel) |
||
| ) |
Upsert portfolio details
Create or update certain details for a particular transaction portfolio. The details are updated if they already exist, and inserted if they do not. Note that not all elements of a transaction portfolio definition are modifiable once it has been created due to the potential implications for data already stored.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| createPortfolioDetails | The details to create or update for the specified transaction portfolio. |
| effectiveAt | The effective datetime or cut label at which the updated or inserted details should become valid. Defaults to the current LUSID system datetime if not specified. (optional) |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| UpsertTransactionPropertiesResponse Lusid.Sdk.Api.ITransactionPortfoliosApiSync.UpsertTransactionProperties | ( | string | scope, |
| string | code, | ||
| string | transactionId, | ||
| Dictionary< string, PerpetualProperty > | requestBody | ||
| ) |
Upsert transaction properties
Create or update one or more transaction properties for a single transaction in the transaction portfolio. Each property will be updated if it already exists and created if it does not. Both transaction and portfolio must exist at the time when properties are created or updated.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionId | The unique ID of the transaction to create or update properties for. |
| requestBody | The properties and their associated values to create or update. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<UpsertTransactionPropertiesResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.UpsertTransactionPropertiesWithHttpInfo | ( | string | scope, |
| string | code, | ||
| string | transactionId, | ||
| Dictionary< string, PerpetualProperty > | requestBody | ||
| ) |
Upsert transaction properties
Create or update one or more transaction properties for a single transaction in the transaction portfolio. Each property will be updated if it already exists and created if it does not. Both transaction and portfolio must exist at the time when properties are created or updated.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionId | The unique ID of the transaction to create or update properties for. |
| requestBody | The properties and their associated values to create or update. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| UpsertPortfolioTransactionsResponse Lusid.Sdk.Api.ITransactionPortfoliosApiSync.UpsertTransactions | ( | string | scope, |
| string | code, | ||
| List< TransactionRequest > | transactionRequest | ||
| ) |
Upsert transactions
Create or update transactions in the transaction portfolio. A transaction will be updated if it already exists and created if it does not. The maximum number of transactions that this method can upsert per request is 10,000.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionRequest | A list of transactions to be created or updated. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
| ApiResponse<UpsertPortfolioTransactionsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiSync.UpsertTransactionsWithHttpInfo | ( | string | scope, |
| string | code, | ||
| List< TransactionRequest > | transactionRequest | ||
| ) |
Upsert transactions
Create or update transactions in the transaction portfolio. A transaction will be updated if it already exists and created if it does not. The maximum number of transactions that this method can upsert per request is 10,000.
| Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
| scope | The scope of the transaction portfolio. |
| code | The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. |
| transactionRequest | A list of transactions to be created or updated. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
1.8.13