LUSID C# SDK
Public Member Functions | List of all members
Lusid.Sdk.Api.ITransactionPortfoliosApiAsync Interface Reference

Represents a collection of functions to interact with the API endpoints More...

Inheritance diagram for Lusid.Sdk.Api.ITransactionPortfoliosApiAsync:
Inheritance graph
[legend]

Public Member Functions

System.Threading.Tasks.Task< AdjustHoldingAdjustHoldingsAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Adjust holdings More...
 
System.Threading.Tasks.Task< ApiResponse< AdjustHolding > > AdjustHoldingsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Adjust holdings More...
 
System.Threading.Tasks.Task< VersionedResourceListOfOutputTransactionBuildTransactionsAsync (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), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Build transactions More...
 
System.Threading.Tasks.Task< ApiResponse< VersionedResourceListOfOutputTransaction > > BuildTransactionsWithHttpInfoAsync (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), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Build transactions More...
 
System.Threading.Tasks.Task< DeletedEntityResponseCancelAdjustHoldingsAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Cancel adjust holdings More...
 
System.Threading.Tasks.Task< ApiResponse< DeletedEntityResponse > > CancelAdjustHoldingsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Cancel adjust holdings More...
 
System.Threading.Tasks.Task< DeletedEntityResponseCancelTransactionsAsync (string scope, string code, List< string > transactionIds, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Cancel transactions More...
 
System.Threading.Tasks.Task< ApiResponse< DeletedEntityResponse > > CancelTransactionsWithHttpInfoAsync (string scope, string code, List< string > transactionIds, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Cancel transactions More...
 
System.Threading.Tasks.Task< PortfolioCreatePortfolioAsync (string scope, CreateTransactionPortfolioRequest createTransactionPortfolioRequest, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Create portfolio More...
 
System.Threading.Tasks.Task< ApiResponse< Portfolio > > CreatePortfolioWithHttpInfoAsync (string scope, CreateTransactionPortfolioRequest createTransactionPortfolioRequest, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Create portfolio More...
 
System.Threading.Tasks.Task< DeletedEntityResponseDeletePropertiesFromTransactionAsync (string scope, string code, string transactionId, List< string > propertyKeys, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Delete properties from transaction More...
 
System.Threading.Tasks.Task< ApiResponse< DeletedEntityResponse > > DeletePropertiesFromTransactionWithHttpInfoAsync (string scope, string code, string transactionId, List< string > propertyKeys, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Delete properties from transaction More...
 
System.Threading.Tasks.Task< PortfolioDetailsGetDetailsAsync (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get details More...
 
System.Threading.Tasks.Task< ApiResponse< PortfolioDetails > > GetDetailsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get details More...
 
System.Threading.Tasks.Task< VersionedResourceListOfPortfolioHoldingGetHoldingsAsync (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?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get holdings More...
 
System.Threading.Tasks.Task< ApiResponse< VersionedResourceListOfPortfolioHolding > > GetHoldingsWithHttpInfoAsync (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?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get holdings More...
 
System.Threading.Tasks.Task< HoldingsAdjustmentGetHoldingsAdjustmentAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get holdings adjustment More...
 
System.Threading.Tasks.Task< ApiResponse< HoldingsAdjustment > > GetHoldingsAdjustmentWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get holdings adjustment More...
 
System.Threading.Tasks.Task< ResourceListOfPortfolioCashFlowGetPortfolioCashStatementAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), string recipeIdScope=default(string), string recipeIdCode=default(string), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get portfolio cash statement More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfPortfolioCashFlow > > GetPortfolioCashStatementWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string filter=default(string), string recipeIdScope=default(string), string recipeIdCode=default(string), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get portfolio cash statement More...
 
System.Threading.Tasks.Task< VersionedResourceListOfTransactionGetTransactionsAsync (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?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get transactions More...
 
System.Threading.Tasks.Task< ApiResponse< VersionedResourceListOfTransaction > > GetTransactionsWithHttpInfoAsync (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?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get transactions More...
 
System.Threading.Tasks.Task< ResourceListOfHoldingsAdjustmentHeaderListHoldingsAdjustmentsAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 List holdings adjustments More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfHoldingsAdjustmentHeader > > ListHoldingsAdjustmentsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 List holdings adjustments More...
 
System.Threading.Tasks.Task< UpsertPortfolioTransactionsResponseResolveInstrumentAsync (string scope, string code, string instrumentIdentifierType, string instrumentIdentifierValue, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), Dictionary< string, string > requestBody=default(Dictionary< string, string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Resolve instrument More...
 
System.Threading.Tasks.Task< ApiResponse< UpsertPortfolioTransactionsResponse > > ResolveInstrumentWithHttpInfoAsync (string scope, string code, string instrumentIdentifierType, string instrumentIdentifierValue, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), Dictionary< string, string > requestBody=default(Dictionary< string, string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Resolve instrument More...
 
System.Threading.Tasks.Task< AdjustHoldingSetHoldingsAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Set holdings More...
 
System.Threading.Tasks.Task< ApiResponse< AdjustHolding > > SetHoldingsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string > reconciliationMethods=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Set holdings More...
 
System.Threading.Tasks.Task< PortfolioDetailsUpsertPortfolioDetailsAsync (string scope, string code, CreatePortfolioDetails createPortfolioDetails, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Upsert portfolio details More...
 
System.Threading.Tasks.Task< ApiResponse< PortfolioDetails > > UpsertPortfolioDetailsWithHttpInfoAsync (string scope, string code, CreatePortfolioDetails createPortfolioDetails, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Upsert portfolio details More...
 
System.Threading.Tasks.Task< UpsertTransactionPropertiesResponseUpsertTransactionPropertiesAsync (string scope, string code, string transactionId, Dictionary< string, PerpetualProperty > requestBody, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Upsert transaction properties More...
 
System.Threading.Tasks.Task< ApiResponse< UpsertTransactionPropertiesResponse > > UpsertTransactionPropertiesWithHttpInfoAsync (string scope, string code, string transactionId, Dictionary< string, PerpetualProperty > requestBody, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Upsert transaction properties More...
 
System.Threading.Tasks.Task< UpsertPortfolioTransactionsResponseUpsertTransactionsAsync (string scope, string code, List< TransactionRequest > transactionRequest, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Upsert transactions More...
 
System.Threading.Tasks.Task< ApiResponse< UpsertPortfolioTransactionsResponse > > UpsertTransactionsWithHttpInfoAsync (string scope, string code, List< TransactionRequest > transactionRequest, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 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...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ AdjustHoldingsAsync()

System.Threading.Tasks.Task<AdjustHolding> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.AdjustHoldingsAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
List< AdjustHoldingRequest adjustHoldingRequest,
List< string >  reconciliationMethods = default(List< string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label at which the holdings should be set to the provided targets.
adjustHoldingRequestThe selected set of holdings to adjust to the provided targets for the transaction portfolio.
reconciliationMethodsOptional parameter for specifying a reconciliation method: e.g. FxForward. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of AdjustHolding

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ AdjustHoldingsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<AdjustHolding> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.AdjustHoldingsWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
List< AdjustHoldingRequest adjustHoldingRequest,
List< string >  reconciliationMethods = default(List< string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label at which the holdings should be set to the provided targets.
adjustHoldingRequestThe selected set of holdings to adjust to the provided targets for the transaction portfolio.
reconciliationMethodsOptional parameter for specifying a reconciliation method: e.g. FxForward. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (AdjustHolding)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ BuildTransactionsAsync()

System.Threading.Tasks.Task<VersionedResourceListOfOutputTransaction> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BuildTransactionsAsync ( 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),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionQueryParametersThe query queryParameters which control how the output transactions are built.
asAtThe asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional)
filterExpression to filter the result set. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &quot;Instrument&quot; or &quot;Transaction&quot; domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. &quot;Instrument/system/Name&quot; or &quot;Transaction/strategy/quantsignal&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional)
pageThe pagination token to use to continue listing transactions from a previous call to BuildTransactions. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of VersionedResourceListOfOutputTransaction

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ BuildTransactionsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<VersionedResourceListOfOutputTransaction> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BuildTransactionsWithHttpInfoAsync ( 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),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionQueryParametersThe query queryParameters which control how the output transactions are built.
asAtThe asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional)
filterExpression to filter the result set. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &quot;Instrument&quot; or &quot;Transaction&quot; domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. &quot;Instrument/system/Name&quot; or &quot;Transaction/strategy/quantsignal&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional)
pageThe pagination token to use to continue listing transactions from a previous call to BuildTransactions. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (VersionedResourceListOfOutputTransaction)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ CancelAdjustHoldingsAsync()

System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelAdjustHoldingsAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label at which the holding adjustments should be undone.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ CancelAdjustHoldingsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelAdjustHoldingsWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label at which the holding adjustments should be undone.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ CancelTransactionsAsync()

System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelTransactionsAsync ( string  scope,
string  code,
List< string >  transactionIds,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Cancel transactions

Cancel one or more transactions from the transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionIdsThe IDs of the transactions to cancel.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ CancelTransactionsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelTransactionsWithHttpInfoAsync ( string  scope,
string  code,
List< string >  transactionIds,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Cancel transactions

Cancel one or more transactions from the transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionIdsThe IDs of the transactions to cancel.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ CreatePortfolioAsync()

System.Threading.Tasks.Task<Portfolio> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CreatePortfolioAsync ( string  scope,
CreateTransactionPortfolioRequest  createTransactionPortfolioRequest,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Create portfolio

Create a transaction portfolio in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope in which to create the transaction portfolio.
createTransactionPortfolioRequestThe definition of the transaction portfolio.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of Portfolio

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ CreatePortfolioWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<Portfolio> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CreatePortfolioWithHttpInfoAsync ( string  scope,
CreateTransactionPortfolioRequest  createTransactionPortfolioRequest,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Create portfolio

Create a transaction portfolio in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope in which to create the transaction portfolio.
createTransactionPortfolioRequestThe definition of the transaction portfolio.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (Portfolio)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ DeletePropertiesFromTransactionAsync()

System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.DeletePropertiesFromTransactionAsync ( string  scope,
string  code,
string  transactionId,
List< string >  propertyKeys,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Delete properties from transaction

Delete one or more properties from a single transaction in a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionIdThe unique ID of the transaction from which to delete properties.
propertyKeysThe property keys of the properties to delete. These must be from the &quot;Transaction&quot; domain and have the format {domain}/{scope}/{code}, for example &quot;Transaction/strategy/quantsignal&quot;.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ DeletePropertiesFromTransactionWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.DeletePropertiesFromTransactionWithHttpInfoAsync ( string  scope,
string  code,
string  transactionId,
List< string >  propertyKeys,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Delete properties from transaction

Delete one or more properties from a single transaction in a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionIdThe unique ID of the transaction from which to delete properties.
propertyKeysThe property keys of the properties to delete. These must be from the &quot;Transaction&quot; domain and have the format {domain}/{scope}/{code}, for example &quot;Transaction/strategy/quantsignal&quot;.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetDetailsAsync()

System.Threading.Tasks.Task<PortfolioDetails> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetDetailsAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Get details

Get certain details associated with a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe 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)
asAtThe 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)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PortfolioDetails

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetDetailsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<PortfolioDetails> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetDetailsWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Get details

Get certain details associated with a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe 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)
asAtThe 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)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PortfolioDetails)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetHoldingsAdjustmentAsync()

System.Threading.Tasks.Task<HoldingsAdjustment> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsAdjustmentAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label of the holdings adjustment.
asAtThe asAt datetime at which to retrieve the holdings adjustment. Defaults to the return the latest version of the holdings adjustment if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of HoldingsAdjustment

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetHoldingsAdjustmentWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<HoldingsAdjustment> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsAdjustmentWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label of the holdings adjustment.
asAtThe asAt datetime at which to retrieve the holdings adjustment. Defaults to the return the latest version of the holdings adjustment if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (HoldingsAdjustment)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetHoldingsAsync()

System.Threading.Tasks.Task<VersionedResourceListOfPortfolioHolding> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsAsync ( 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?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Get holdings

Calculate holdings for a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe 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)
asAtThe asAt datetime at which to retrieve the holdings of the transaction portfolio. Defaults to return the latest version if not specified. (optional)
filterExpression to filter the result set. For example, to filter on the Holding Type, use &quot;holdingType eq &#39;p&#39;&quot;. For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &quot;Instrument&quot; or &quot;Holding&quot; domain to decorate onto holdings. These must have the format {domain}/{scope}/{code}, for example &quot;Instrument/system/Name&quot; or &quot;Holding/system/Cost&quot;. (optional)
byTaxlotsWhether or not to expand the holdings to return the underlying tax-lots. Defaults to False. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of VersionedResourceListOfPortfolioHolding

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetHoldingsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<VersionedResourceListOfPortfolioHolding> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsWithHttpInfoAsync ( 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?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

Get holdings

Calculate holdings for a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe 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)
asAtThe asAt datetime at which to retrieve the holdings of the transaction portfolio. Defaults to return the latest version if not specified. (optional)
filterExpression to filter the result set. For example, to filter on the Holding Type, use &quot;holdingType eq &#39;p&#39;&quot;. For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &quot;Instrument&quot; or &quot;Holding&quot; domain to decorate onto holdings. These must have the format {domain}/{scope}/{code}, for example &quot;Instrument/system/Name&quot; or &quot;Holding/system/Cost&quot;. (optional)
byTaxlotsWhether or not to expand the holdings to return the underlying tax-lots. Defaults to False. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (VersionedResourceListOfPortfolioHolding)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetPortfolioCashStatementAsync()

System.Threading.Tasks.Task<ResourceListOfPortfolioCashFlow> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetPortfolioCashStatementAsync ( string  scope,
string  code,
DateTimeOrCutLabel  fromEffectiveAt,
DateTimeOrCutLabel  toEffectiveAt,
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  filter = default(string),
string  recipeIdScope = default(string),
string  recipeIdCode = default(string),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Get portfolio cash statement

Get a cash statement for a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio.
fromEffectiveAtThe lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified.
toEffectiveAtThe upper bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no upper bound if this is not specified.
asAtThe asAt datetime at which to retrieve the portfolio. Defaults to returning the latest version of each transaction if not specified. (optional)
filterExpression to filter the result set. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
recipeIdScopeThe scope of the given recipeId (optional)
recipeIdCodeThe code of the given recipeID (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfPortfolioCashFlow

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetPortfolioCashStatementWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfPortfolioCashFlow> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetPortfolioCashStatementWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  fromEffectiveAt,
DateTimeOrCutLabel  toEffectiveAt,
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  filter = default(string),
string  recipeIdScope = default(string),
string  recipeIdCode = default(string),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Get portfolio cash statement

Get a cash statement for a transaction portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio.
fromEffectiveAtThe lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified.
toEffectiveAtThe upper bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no upper bound if this is not specified.
asAtThe asAt datetime at which to retrieve the portfolio. Defaults to returning the latest version of each transaction if not specified. (optional)
filterExpression to filter the result set. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
recipeIdScopeThe scope of the given recipeId (optional)
recipeIdCodeThe code of the given recipeID (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfPortfolioCashFlow)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetTransactionsAsync()

System.Threading.Tasks.Task<VersionedResourceListOfTransaction> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetTransactionsAsync ( 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?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
fromTransactionDateThe lower bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no lower bound if this is not specified. (optional)
toTransactionDateThe upper bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no upper bound if this is not specified. (optional)
asAtThe asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified. (optional)
filterExpression with which to filter the result set. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot; For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; or &#39;Transaction&#39; domain to decorate onto transactions. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39; or &#39;Transaction/strategy/quantsignal&#39;. (optional)
pageThe pagination token to use to continue listing transactions from a previous call to GetTransactions. (optional)
limitWhen paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of VersionedResourceListOfTransaction

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ GetTransactionsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<VersionedResourceListOfTransaction> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetTransactionsWithHttpInfoAsync ( 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?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
fromTransactionDateThe lower bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no lower bound if this is not specified. (optional)
toTransactionDateThe upper bound effective datetime or cut label (inclusive) from which to retrieve transactions. There is no upper bound if this is not specified. (optional)
asAtThe asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified. (optional)
filterExpression with which to filter the result set. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot; For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; or &#39;Transaction&#39; domain to decorate onto transactions. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39; or &#39;Transaction/strategy/quantsignal&#39;. (optional)
pageThe pagination token to use to continue listing transactions from a previous call to GetTransactions. (optional)
limitWhen paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (VersionedResourceListOfTransaction)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ ListHoldingsAdjustmentsAsync()

System.Threading.Tasks.Task<ResourceListOfHoldingsAdjustmentHeader> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ListHoldingsAdjustmentsAsync ( string  scope,
string  code,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  toEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

List holdings adjustments

List the holdings adjustments made to the specified transaction portfolio over a specified interval of effective time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
fromEffectiveAtThe 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)
toEffectiveAtThe 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)
asAtThe asAt datetime at which to retrieve the holdings adjustments. Defaults to return the latest version of each holding adjustment if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfHoldingsAdjustmentHeader

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ ListHoldingsAdjustmentsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfHoldingsAdjustmentHeader> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ListHoldingsAdjustmentsWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  toEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

List holdings adjustments

List the holdings adjustments made to the specified transaction portfolio over a specified interval of effective time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
fromEffectiveAtThe 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)
toEffectiveAtThe 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)
asAtThe asAt datetime at which to retrieve the holdings adjustments. Defaults to return the latest version of each holding adjustment if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfHoldingsAdjustmentHeader)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ ResolveInstrumentAsync()

System.Threading.Tasks.Task<UpsertPortfolioTransactionsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ResolveInstrumentAsync ( string  scope,
string  code,
string  instrumentIdentifierType,
string  instrumentIdentifierValue,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
Dictionary< string, string >  requestBody = default(Dictionary< string, string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
instrumentIdentifierTypeThe instrument identifier type.
instrumentIdentifierValueThe value for the given instrument identifier.
fromEffectiveAtThe 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)
requestBodyThe dictionary with the instrument identifiers to be updated on the transaction and holdings. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of UpsertPortfolioTransactionsResponse

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ ResolveInstrumentWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<UpsertPortfolioTransactionsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ResolveInstrumentWithHttpInfoAsync ( string  scope,
string  code,
string  instrumentIdentifierType,
string  instrumentIdentifierValue,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
Dictionary< string, string >  requestBody = default(Dictionary< string, string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
instrumentIdentifierTypeThe instrument identifier type.
instrumentIdentifierValueThe value for the given instrument identifier.
fromEffectiveAtThe 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)
requestBodyThe dictionary with the instrument identifiers to be updated on the transaction and holdings. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (UpsertPortfolioTransactionsResponse)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ SetHoldingsAsync()

System.Threading.Tasks.Task<AdjustHolding> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.SetHoldingsAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
List< AdjustHoldingRequest adjustHoldingRequest,
List< string >  reconciliationMethods = default(List< string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label at which the holdings should be set to the provided targets.
adjustHoldingRequestThe complete set of target holdings for the transaction portfolio.
reconciliationMethodsOptional parameter for specifying a reconciliation method: e.g. FxForward. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of AdjustHolding

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ SetHoldingsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<AdjustHolding> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.SetHoldingsWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt,
List< AdjustHoldingRequest adjustHoldingRequest,
List< string >  reconciliationMethods = default(List< string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
effectiveAtThe effective datetime or cut label at which the holdings should be set to the provided targets.
adjustHoldingRequestThe complete set of target holdings for the transaction portfolio.
reconciliationMethodsOptional parameter for specifying a reconciliation method: e.g. FxForward. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (AdjustHolding)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ UpsertPortfolioDetailsAsync()

System.Threading.Tasks.Task<PortfolioDetails> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertPortfolioDetailsAsync ( string  scope,
string  code,
CreatePortfolioDetails  createPortfolioDetails,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
createPortfolioDetailsThe details to create or update for the specified transaction portfolio.
effectiveAtThe 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)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PortfolioDetails

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ UpsertPortfolioDetailsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<PortfolioDetails> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertPortfolioDetailsWithHttpInfoAsync ( string  scope,
string  code,
CreatePortfolioDetails  createPortfolioDetails,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
createPortfolioDetailsThe details to create or update for the specified transaction portfolio.
effectiveAtThe 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)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PortfolioDetails)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ UpsertTransactionPropertiesAsync()

System.Threading.Tasks.Task<UpsertTransactionPropertiesResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionPropertiesAsync ( string  scope,
string  code,
string  transactionId,
Dictionary< string, PerpetualProperty requestBody,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionIdThe unique ID of the transaction to create or update properties for.
requestBodyThe properties and their associated values to create or update.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of UpsertTransactionPropertiesResponse

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ UpsertTransactionPropertiesWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<UpsertTransactionPropertiesResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionPropertiesWithHttpInfoAsync ( string  scope,
string  code,
string  transactionId,
Dictionary< string, PerpetualProperty requestBody,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionIdThe unique ID of the transaction to create or update properties for.
requestBodyThe properties and their associated values to create or update.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (UpsertTransactionPropertiesResponse)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ UpsertTransactionsAsync()

System.Threading.Tasks.Task<UpsertPortfolioTransactionsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionsAsync ( string  scope,
string  code,
List< TransactionRequest transactionRequest,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionRequestA list of transactions to be created or updated.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of UpsertPortfolioTransactionsResponse

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.

◆ UpsertTransactionsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<UpsertPortfolioTransactionsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionsWithHttpInfoAsync ( string  scope,
string  code,
List< TransactionRequest transactionRequest,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

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.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the transaction portfolio.
codeThe code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.
transactionRequestA list of transactions to be created or updated.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (UpsertPortfolioTransactionsResponse)

Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.


The documentation for this interface was generated from the following file: