LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
System.Threading.Tasks.Task< AdjustHolding > | AdjustHoldingsAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
AdjustHoldings: Adjust holdings More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< AdjustHolding > > | AdjustHoldingsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
AdjustHoldings: Adjust holdings More... | |
System.Threading.Tasks.Task< BatchAdjustHoldingsResponse > | BatchAdjustHoldingsAsync (string scope, string code, string successMode, Dictionary< string, AdjustHoldingForDateRequest > requestBody, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchAdjustHoldings: Batch adjust holdings More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< BatchAdjustHoldingsResponse > > | BatchAdjustHoldingsWithHttpInfoAsync (string scope, string code, string successMode, Dictionary< string, AdjustHoldingForDateRequest > requestBody, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchAdjustHoldings: Batch adjust holdings More... | |
System.Threading.Tasks.Task< CreateTradeTicketsResponse > | BatchCreateTradeTicketsAsync (string scope, string code, List< LusidTradeTicket > lusidTradeTicket, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchCreateTradeTickets: Batch Create Trade Tickets More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CreateTradeTicketsResponse > > | BatchCreateTradeTicketsWithHttpInfoAsync (string scope, string code, List< LusidTradeTicket > lusidTradeTicket, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchCreateTradeTickets: Batch Create Trade Tickets More... | |
System.Threading.Tasks.Task< BatchAdjustHoldingsResponse > | BatchSetHoldingsAsync (string scope, string code, string successMode, Dictionary< string, AdjustHoldingForDateRequest > requestBody, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchSetHoldings: Batch set holdings More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< BatchAdjustHoldingsResponse > > | BatchSetHoldingsWithHttpInfoAsync (string scope, string code, string successMode, Dictionary< string, AdjustHoldingForDateRequest > requestBody, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchSetHoldings: Batch set holdings More... | |
System.Threading.Tasks.Task< BatchUpsertPortfolioTransactionsResponse > | BatchUpsertTransactionsAsync (string scope, string code, string successMode, Dictionary< string, TransactionRequest > requestBody, bool? preserveProperties=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchUpsertTransactions: Batch upsert transactions More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< BatchUpsertPortfolioTransactionsResponse > > | BatchUpsertTransactionsWithHttpInfoAsync (string scope, string code, string successMode, Dictionary< string, TransactionRequest > requestBody, bool? preserveProperties=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] BatchUpsertTransactions: Batch upsert transactions More... | |
System.Threading.Tasks.Task< VersionedResourceListOfOutputTransaction > | 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?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
BuildTransactions: Build transactions More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.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?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
BuildTransactions: Build transactions More... | |
System.Threading.Tasks.Task< DeletedEntityResponse > | CancelAdjustHoldingsAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
CancelAdjustHoldings: Cancel adjust holdings More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > | CancelAdjustHoldingsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
CancelAdjustHoldings: Cancel adjust holdings More... | |
System.Threading.Tasks.Task< DeletedEntityResponse > | CancelSingleAdjustHoldingAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, CancelSingleHoldingAdjustmentRequest cancelSingleHoldingAdjustmentRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelSingleAdjustHolding: Cancel single holding adjustment. More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > | CancelSingleAdjustHoldingWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, CancelSingleHoldingAdjustmentRequest cancelSingleHoldingAdjustmentRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelSingleAdjustHolding: Cancel single holding adjustment. More... | |
System.Threading.Tasks.Task< DeletedEntityResponse > | CancelTransactionsAsync (string scope, string code, List< string > transactionIds, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
CancelTransactions: Cancel transactions More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > | CancelTransactionsWithHttpInfoAsync (string scope, string code, List< string > transactionIds, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
CancelTransactions: Cancel transactions More... | |
System.Threading.Tasks.Task< Portfolio > | CreatePortfolioAsync (string scope, CreateTransactionPortfolioRequest createTransactionPortfolioRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
CreatePortfolio: Create portfolio More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Portfolio > > | CreatePortfolioWithHttpInfoAsync (string scope, CreateTransactionPortfolioRequest createTransactionPortfolioRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
CreatePortfolio: Create portfolio More... | |
System.Threading.Tasks.Task< LusidTradeTicket > | CreateTradeTicketAsync (string scope, string code, LusidTradeTicket? lusidTradeTicket=default(LusidTradeTicket?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateTradeTicket: Create Trade Ticket More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< LusidTradeTicket > > | CreateTradeTicketWithHttpInfoAsync (string scope, string code, LusidTradeTicket? lusidTradeTicket=default(LusidTradeTicket?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateTradeTicket: Create Trade Ticket More... | |
System.Threading.Tasks.Task< DeleteCustodianAccountsResponse > | DeleteCustodianAccountsAsync (string scope, string code, List< ResourceId > resourceId, string? deleteMode=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeleteCustodianAccounts: Soft or hard delete multiple custodian accounts More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeleteCustodianAccountsResponse > > | DeleteCustodianAccountsWithHttpInfoAsync (string scope, string code, List< ResourceId > resourceId, string? deleteMode=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeleteCustodianAccounts: Soft or hard delete multiple custodian accounts More... | |
System.Threading.Tasks.Task< DeletedEntityResponse > | DeletePropertiesFromTransactionAsync (string scope, string code, string transactionId, List< string > propertyKeys, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
DeletePropertiesFromTransaction: Delete properties from transaction More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > | DeletePropertiesFromTransactionWithHttpInfoAsync (string scope, string code, string transactionId, List< string > propertyKeys, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
DeletePropertiesFromTransaction: Delete properties from transaction More... | |
System.Threading.Tasks.Task< VersionedResourceListOfA2BDataRecord > | GetA2BDataAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetA2BData: Get A2B data More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< VersionedResourceListOfA2BDataRecord > > | GetA2BDataWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetA2BData: Get A2B data More... | |
System.Threading.Tasks.Task< VersionedResourceListOfA2BMovementRecord > | GetA2BMovementsAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetA2BMovements: Get an A2B report at the movement level for the given portfolio. More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< VersionedResourceListOfA2BMovementRecord > > | GetA2BMovementsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetA2BMovements: Get an A2B report at the movement level for the given portfolio. More... | |
System.Threading.Tasks.Task< BucketedCashFlowResponse > | GetBucketedCashFlowsAsync (string scope, string code, BucketedCashFlowRequest? bucketedCashFlowRequest=default(BucketedCashFlowRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetBucketedCashFlows: Get bucketed cash flows from a list of portfolios More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< BucketedCashFlowResponse > > | GetBucketedCashFlowsWithHttpInfoAsync (string scope, string code, BucketedCashFlowRequest? bucketedCashFlowRequest=default(BucketedCashFlowRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetBucketedCashFlows: Get bucketed cash flows from a list of portfolios More... | |
System.Threading.Tasks.Task< CustodianAccount > | GetCustodianAccountAsync (string scope, string code, string custodianAccountScope, string custodianAccountCode, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetCustodianAccount: Get Custodian Account More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CustodianAccount > > | GetCustodianAccountWithHttpInfoAsync (string scope, string code, string custodianAccountScope, string custodianAccountCode, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetCustodianAccount: Get Custodian Account More... | |
System.Threading.Tasks.Task< PortfolioDetails > | GetDetailsAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetDetails: Get details More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PortfolioDetails > > | GetDetailsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetDetails: Get details More... | |
System.Threading.Tasks.Task< VersionedResourceListOfHoldingContributor > | GetHoldingContributorsAsync (string scope, string code, long holdingId, DateTimeOrCutLabel? effectiveDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? fromTradeDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toTradeDate=default(DateTimeOrCutLabel?), bool? includeHistoric=default(bool?), string? taxLotId=default(string?), int? limit=default(int?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetHoldingContributors: Get Holdings Contributors More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< VersionedResourceListOfHoldingContributor > > | GetHoldingContributorsWithHttpInfoAsync (string scope, string code, long holdingId, DateTimeOrCutLabel? effectiveDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? fromTradeDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toTradeDate=default(DateTimeOrCutLabel?), bool? includeHistoric=default(bool?), string? taxLotId=default(string?), int? limit=default(int?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetHoldingContributors: Get Holdings Contributors More... | |
System.Threading.Tasks.Task< VersionedResourceListOfPortfolioHolding > | 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?), int? includeSettlementEventsAfterDays=default(int?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetHoldings: Get holdings More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.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?), int? includeSettlementEventsAfterDays=default(int?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetHoldings: Get holdings More... | |
System.Threading.Tasks.Task< HoldingsAdjustment > | GetHoldingsAdjustmentAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetHoldingsAdjustment: Get holdings adjustment More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< HoldingsAdjustment > > | GetHoldingsAdjustmentWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetHoldingsAdjustment: Get holdings adjustment More... | |
System.Threading.Tasks.Task< VersionedResourceListWithWarningsOfPortfolioHolding > | GetHoldingsWithOrdersAsync (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?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), int? includeSettlementEventsAfterDays=default(int?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetHoldingsWithOrders: Get holdings with orders More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< VersionedResourceListWithWarningsOfPortfolioHolding > > | GetHoldingsWithOrdersWithHttpInfoAsync (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?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), int? includeSettlementEventsAfterDays=default(int?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetHoldingsWithOrders: Get holdings with orders More... | |
System.Threading.Tasks.Task< VersionedResourceListOfHoldingContributor > | GetMultipleHoldingContributorsAsync (string scope, string code, HoldingIdsRequest holdingIdsRequest, DateTimeOrCutLabel? effectiveDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? fromTransactionDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toTransactionDate=default(DateTimeOrCutLabel?), bool? includeHistoric=default(bool?), string? taxLotId=default(string?), int? limit=default(int?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetMultipleHoldingContributors: Get Multiple Holding Contributors More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< VersionedResourceListOfHoldingContributor > > | GetMultipleHoldingContributorsWithHttpInfoAsync (string scope, string code, HoldingIdsRequest holdingIdsRequest, DateTimeOrCutLabel? effectiveDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? fromTransactionDate=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toTransactionDate=default(DateTimeOrCutLabel?), bool? includeHistoric=default(bool?), string? taxLotId=default(string?), int? limit=default(int?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetMultipleHoldingContributors: Get Multiple Holding Contributors More... | |
System.Threading.Tasks.Task< ResourceListOfInstrumentCashFlow > | GetPortfolioCashFlowsAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowStart=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowEnd=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), bool? excludeUnsettledTrades=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetPortfolioCashFlows: Get portfolio cash flows More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfInstrumentCashFlow > > | GetPortfolioCashFlowsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowStart=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowEnd=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), bool? excludeUnsettledTrades=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetPortfolioCashFlows: Get portfolio cash flows More... | |
System.Threading.Tasks.Task< ResourceListOfPortfolioCashLadder > | GetPortfolioCashLadderAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), bool? excludeUnsettledTrades=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetPortfolioCashLadder: Get portfolio cash ladder More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfPortfolioCashLadder > > | GetPortfolioCashLadderWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), bool? excludeUnsettledTrades=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetPortfolioCashLadder: Get portfolio cash ladder More... | |
System.Threading.Tasks.Task< ResourceListOfPortfolioCashFlow > | 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?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetPortfolioCashStatement: Get portfolio cash statement More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.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?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetPortfolioCashStatement: Get portfolio cash statement More... | |
System.Threading.Tasks.Task< ResourceListOfChangeHistory > | GetTransactionHistoryAsync (string scope, string code, string transactionId, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetTransactionHistory: Get the history of a transaction More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfChangeHistory > > | GetTransactionHistoryWithHttpInfoAsync (string scope, string code, string transactionId, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetTransactionHistory: Get the history of a transaction More... | |
System.Threading.Tasks.Task< VersionedResourceListOfTransaction > | 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?), bool? showCancelledTransactions=default(bool?), List< string >? sortBy=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetTransactions: Get transactions More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.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?), bool? showCancelledTransactions=default(bool?), List< string >? sortBy=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetTransactions: Get transactions More... | |
System.Threading.Tasks.Task< ResourceListOfTransaction > | GetUpsertablePortfolioCashFlowsAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowStart=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowEnd=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), bool? excludeUnsettledTrades=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetUpsertablePortfolioCashFlows: Get upsertable portfolio cash flows. More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfTransaction > > | GetUpsertablePortfolioCashFlowsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowStart=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? windowEnd=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? recipeIdScope=default(string?), string? recipeIdCode=default(string?), bool? excludeUnsettledTrades=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetUpsertablePortfolioCashFlows: Get upsertable portfolio cash flows. More... | |
System.Threading.Tasks.Task< PagedResourceListOfCustodianAccount > | ListCustodianAccountsAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListCustodianAccounts: List Custodian Accounts More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PagedResourceListOfCustodianAccount > > | ListCustodianAccountsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListCustodianAccounts: List Custodian Accounts More... | |
System.Threading.Tasks.Task< ResourceListOfHoldingsAdjustmentHeader > | ListHoldingsAdjustmentsAsync (string scope, string code, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
ListHoldingsAdjustments: List holdings adjustments More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfHoldingsAdjustmentHeader > > | ListHoldingsAdjustmentsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
ListHoldingsAdjustments: List holdings adjustments More... | |
System.Threading.Tasks.Task< PortfolioDetails > | PatchPortfolioDetailsAsync (string scope, string code, List< Operation > operation, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
PatchPortfolioDetails: Patch portfolio details More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PortfolioDetails > > | PatchPortfolioDetailsWithHttpInfoAsync (string scope, string code, List< Operation > operation, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
PatchPortfolioDetails: Patch portfolio details More... | |
System.Threading.Tasks.Task< ResourceListOfOutputTransaction > | PreviewTransactionAsync (string scope, string code, TransactionRequest transactionRequest, List< string >? propertyKeys=default(List< string >?), bool? showCancelledTransactions=default(bool?), bool? preserveProperties=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] PreviewTransaction: Preview a transaction More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfOutputTransaction > > | PreviewTransactionWithHttpInfoAsync (string scope, string code, TransactionRequest transactionRequest, List< string >? propertyKeys=default(List< string >?), bool? showCancelledTransactions=default(bool?), bool? preserveProperties=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] PreviewTransaction: Preview a transaction More... | |
System.Threading.Tasks.Task< UpsertPortfolioTransactionsResponse > | ResolveInstrumentAsync (string scope, string code, string instrumentIdentifierType, string instrumentIdentifierValue, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), bool? reResolve=default(bool?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
ResolveInstrument: Resolve instrument More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< UpsertPortfolioTransactionsResponse > > | ResolveInstrumentWithHttpInfoAsync (string scope, string code, string instrumentIdentifierType, string instrumentIdentifierValue, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), bool? reResolve=default(bool?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
ResolveInstrument: Resolve instrument More... | |
System.Threading.Tasks.Task< AdjustHolding > | SetHoldingsAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
SetHoldings: Set holdings More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< AdjustHolding > > | SetHoldingsWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt, List< AdjustHoldingRequest > adjustHoldingRequest, List< string >? reconciliationMethods=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
SetHoldings: Set holdings More... | |
System.Threading.Tasks.Task< CustodianAccountsUpsertResponse > | UpsertCustodianAccountsAsync (string scope, string code, List< CustodianAccountRequest > custodianAccountRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertCustodianAccounts: Upsert Custodian Accounts More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CustodianAccountsUpsertResponse > > | UpsertCustodianAccountsWithHttpInfoAsync (string scope, string code, List< CustodianAccountRequest > custodianAccountRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertCustodianAccounts: Upsert Custodian Accounts More... | |
System.Threading.Tasks.Task< CustodianAccountProperties > | UpsertCustodianAccountsPropertiesAsync (string scope, string code, string custodianAccountScope, string custodianAccountCode, Dictionary< string, Property >? requestBody=default(Dictionary< string, Property >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertCustodianAccountsProperties: Upsert custodian accounts properties More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CustodianAccountProperties > > | UpsertCustodianAccountsPropertiesWithHttpInfoAsync (string scope, string code, string custodianAccountScope, string custodianAccountCode, Dictionary< string, Property >? requestBody=default(Dictionary< string, Property >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertCustodianAccountsProperties: Upsert custodian accounts properties More... | |
System.Threading.Tasks.Task< PortfolioDetails > | UpsertPortfolioDetailsAsync (string scope, string code, CreatePortfolioDetails createPortfolioDetails, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
UpsertPortfolioDetails: Upsert portfolio details More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PortfolioDetails > > | UpsertPortfolioDetailsWithHttpInfoAsync (string scope, string code, CreatePortfolioDetails createPortfolioDetails, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
UpsertPortfolioDetails: Upsert portfolio details More... | |
System.Threading.Tasks.Task< UpsertTransactionPropertiesResponse > | UpsertTransactionPropertiesAsync (string scope, string code, string transactionId, Dictionary< string, PerpetualProperty > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
UpsertTransactionProperties: Upsert transaction properties More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< UpsertTransactionPropertiesResponse > > | UpsertTransactionPropertiesWithHttpInfoAsync (string scope, string code, string transactionId, Dictionary< string, PerpetualProperty > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
UpsertTransactionProperties: Upsert transaction properties More... | |
System.Threading.Tasks.Task< UpsertPortfolioTransactionsResponse > | UpsertTransactionsAsync (string scope, string code, List< TransactionRequest > transactionRequest, bool? preserveProperties=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
UpsertTransactions: Upsert transactions More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< UpsertPortfolioTransactionsResponse > > | UpsertTransactionsWithHttpInfoAsync (string scope, string code, List< TransactionRequest > transactionRequest, bool? preserveProperties=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
UpsertTransactions: Upsert transactions More... | |
Represents a collection of functions to interact with the API endpoints
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 >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
AdjustHoldings: 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/docs/how-do-i-manually-adjust-or-set-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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<AdjustHolding> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.AdjustHoldingsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
List< AdjustHoldingRequest > | adjustHoldingRequest, | ||
List< string >? | reconciliationMethods = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
AdjustHoldings: 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/docs/how-do-i-manually-adjust-or-set-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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<BatchAdjustHoldingsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchAdjustHoldingsAsync | ( | string | scope, |
string | code, | ||
string | successMode, | ||
Dictionary< string, AdjustHoldingForDateRequest > | requestBody, | ||
List< string >? | reconciliationMethods = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchAdjustHoldings: Batch 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 in each request. Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each adjustment in the response. Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
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. |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial |
requestBody | 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<BatchAdjustHoldingsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchAdjustHoldingsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | successMode, | ||
Dictionary< string, AdjustHoldingForDateRequest > | requestBody, | ||
List< string >? | reconciliationMethods = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchAdjustHoldings: Batch 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 in each request. Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each adjustment in the response. Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
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. |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial |
requestBody | 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<CreateTradeTicketsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchCreateTradeTicketsAsync | ( | string | scope, |
string | code, | ||
List< LusidTradeTicket > | lusidTradeTicket, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchCreateTradeTickets: Batch Create Trade Tickets
Batch create trade tickets. Each ticket is broadly equivalent to a singular call to upsert an instrument, then a counterparty and finally a transaction that makes use of the two.
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. |
lusidTradeTicket | the trade tickets to create |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CreateTradeTicketsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchCreateTradeTicketsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
List< LusidTradeTicket > | lusidTradeTicket, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchCreateTradeTickets: Batch Create Trade Tickets
Batch create trade tickets. Each ticket is broadly equivalent to a singular call to upsert an instrument, then a counterparty and finally a transaction that makes use of the two.
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. |
lusidTradeTicket | the trade tickets to create |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<BatchAdjustHoldingsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchSetHoldingsAsync | ( | string | scope, |
string | code, | ||
string | successMode, | ||
Dictionary< string, AdjustHoldingForDateRequest > | requestBody, | ||
List< string >? | reconciliationMethods = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchSetHoldings: Batch 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/docs/how-do-i-manually-adjust-or-set-holdings. Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each adjustment in the response. Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
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. |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial |
requestBody | 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<BatchAdjustHoldingsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchSetHoldingsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | successMode, | ||
Dictionary< string, AdjustHoldingForDateRequest > | requestBody, | ||
List< string >? | reconciliationMethods = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchSetHoldings: Batch 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/docs/how-do-i-manually-adjust-or-set-holdings. Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each adjustment in the response. Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
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. |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial |
requestBody | 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<BatchUpsertPortfolioTransactionsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchUpsertTransactionsAsync | ( | string | scope, |
string | code, | ||
string | successMode, | ||
Dictionary< string, TransactionRequest > | requestBody, | ||
bool? | preserveProperties = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchUpsertTransactions: Batch 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. Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each transaction in the response. Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
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. |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. |
requestBody | The payload describing the transactions to be created or updated. |
preserveProperties | If set to false, the entire property set will be overwritten by the provided properties. If not specified or set to true, only the properties provided will be updated. (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<BatchUpsertPortfolioTransactionsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.BatchUpsertTransactionsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | successMode, | ||
Dictionary< string, TransactionRequest > | requestBody, | ||
bool? | preserveProperties = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] BatchUpsertTransactions: Batch 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. Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each transaction in the response. Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
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. |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. |
requestBody | The payload describing the transactions to be created or updated. |
preserveProperties | If set to false, the entire property set will be overwritten by the provided properties. If not specified or set to true, only the properties provided will be updated. (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
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?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
BuildTransactions: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.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?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
BuildTransactions: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelAdjustHoldingsAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
CancelAdjustHoldings: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelAdjustHoldingsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
CancelAdjustHoldings: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelSingleAdjustHoldingAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
CancelSingleHoldingAdjustmentRequest | cancelSingleHoldingAdjustmentRequest, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelSingleAdjustHolding: Cancel single holding adjustment.
Cancel one previously sent holding adjustment without affecting the rest of the adjustment in the previous request on 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 at which the previous adjustment was made. |
cancelSingleHoldingAdjustmentRequest | The selected holding adjustment to be canceled. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelSingleAdjustHoldingWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
CancelSingleHoldingAdjustmentRequest | cancelSingleHoldingAdjustmentRequest, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelSingleAdjustHolding: Cancel single holding adjustment.
Cancel one previously sent holding adjustment without affecting the rest of the adjustment in the previous request on 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 at which the previous adjustment was made. |
cancelSingleHoldingAdjustmentRequest | The selected holding adjustment to be canceled. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelTransactionsAsync | ( | string | scope, |
string | code, | ||
List< string > | transactionIds, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
CancelTransactions: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CancelTransactionsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
List< string > | transactionIds, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
CancelTransactions: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Portfolio> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CreatePortfolioAsync | ( | string | scope, |
CreateTransactionPortfolioRequest | createTransactionPortfolioRequest, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
CreatePortfolio: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<Portfolio> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CreatePortfolioWithHttpInfoAsync | ( | string | scope, |
CreateTransactionPortfolioRequest | createTransactionPortfolioRequest, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
CreatePortfolio: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<LusidTradeTicket> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CreateTradeTicketAsync | ( | string | scope, |
string | code, | ||
LusidTradeTicket? | lusidTradeTicket = default(LusidTradeTicket?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CreateTradeTicket: Create Trade Ticket
Upsert a trade ticket. Broadly equivalent to a singular call to upsert an instrument, then a counterparty and finally a transaction that makes use of the two. It can be viewed as a utility function or part of a workflow more familiar to users with OTC systems than flow and equity trading ones.
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. |
lusidTradeTicket | the trade ticket to upsert (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<LusidTradeTicket> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.CreateTradeTicketWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
LusidTradeTicket? | lusidTradeTicket = default(LusidTradeTicket?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CreateTradeTicket: Create Trade Ticket
Upsert a trade ticket. Broadly equivalent to a singular call to upsert an instrument, then a counterparty and finally a transaction that makes use of the two. It can be viewed as a utility function or part of a workflow more familiar to users with OTC systems than flow and equity trading ones.
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. |
lusidTradeTicket | the trade ticket to upsert (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<DeleteCustodianAccountsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.DeleteCustodianAccountsAsync | ( | string | scope, |
string | code, | ||
List< ResourceId > | resourceId, | ||
string? | deleteMode = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeleteCustodianAccounts: Soft or hard delete multiple custodian accounts
Delete one or more custodian accounts from the Transaction Portfolios. Soft deletion marks the custodian account as inactive While the Hard deletion is deleting the custodian account. The batch limit per request is 2,000.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the Transaction Portfolios. |
code | The code of the Transaction Portfolios. Together with the scope this uniquely identifies the Transaction Portfolios. |
resourceId | The scope and codes of the custodian accounts to delete. |
deleteMode | The delete mode to use (defaults to 'Soft'). (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeleteCustodianAccountsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.DeleteCustodianAccountsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
List< ResourceId > | resourceId, | ||
string? | deleteMode = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeleteCustodianAccounts: Soft or hard delete multiple custodian accounts
Delete one or more custodian accounts from the Transaction Portfolios. Soft deletion marks the custodian account as inactive While the Hard deletion is deleting the custodian account. The batch limit per request is 2,000.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the Transaction Portfolios. |
code | The code of the Transaction Portfolios. Together with the scope this uniquely identifies the Transaction Portfolios. |
resourceId | The scope and codes of the custodian accounts to delete. |
deleteMode | The delete mode to use (defaults to 'Soft'). (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.DeletePropertiesFromTransactionAsync | ( | string | scope, |
string | code, | ||
string | transactionId, | ||
List< string > | propertyKeys, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
DeletePropertiesFromTransaction: 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". |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.DeletePropertiesFromTransactionWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | transactionId, | ||
List< string > | propertyKeys, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
DeletePropertiesFromTransaction: 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". |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<VersionedResourceListOfA2BDataRecord> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetA2BDataAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | fromEffectiveAt, | ||
DateTimeOrCutLabel | toEffectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetA2BData: Get A2B data
Get an A2B report for the given portfolio.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the portfolio to retrieve the A2B report for. |
code | The code of the portfolio to retrieve the A2B report for. 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 return the latest version of each transaction if not specified. (optional) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeId (optional) |
propertyKeys | A list of property keys from the "Instrument" domain to decorate onto the results. These take the format {domain}/{scope}/{code} e.g. "Instrument/system/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<VersionedResourceListOfA2BDataRecord> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetA2BDataWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | fromEffectiveAt, | ||
DateTimeOrCutLabel | toEffectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetA2BData: Get A2B data
Get an A2B report for the given portfolio.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the portfolio to retrieve the A2B report for. |
code | The code of the portfolio to retrieve the A2B report for. 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 return the latest version of each transaction if not specified. (optional) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeId (optional) |
propertyKeys | A list of property keys from the "Instrument" domain to decorate onto the results. These take the format {domain}/{scope}/{code} e.g. "Instrument/system/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<VersionedResourceListOfA2BMovementRecord> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetA2BMovementsAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | fromEffectiveAt, | ||
DateTimeOrCutLabel | toEffectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetA2BMovements: Get an A2B report at the movement level for the given portfolio.
Get an A2B report at the movement level for the given portfolio.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the portfolio to retrieve the A2B movement report for. |
code | The code of the portfolio to retrieve the A2B movement report for. 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 return the latest version of each transaction if not specified. (optional) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeId (optional) |
propertyKeys | A list of property keys from the "Instrument" domain to decorate onto the results. These take the format {domain}/{scope}/{code} e.g. "Instrument/system/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<VersionedResourceListOfA2BMovementRecord> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetA2BMovementsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | fromEffectiveAt, | ||
DateTimeOrCutLabel | toEffectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetA2BMovements: Get an A2B report at the movement level for the given portfolio.
Get an A2B report at the movement level for the given portfolio.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the portfolio to retrieve the A2B movement report for. |
code | The code of the portfolio to retrieve the A2B movement report for. 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 return the latest version of each transaction if not specified. (optional) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeId (optional) |
propertyKeys | A list of property keys from the "Instrument" domain to decorate onto the results. These take the format {domain}/{scope}/{code} e.g. "Instrument/system/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<BucketedCashFlowResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetBucketedCashFlowsAsync | ( | string | scope, |
string | code, | ||
BucketedCashFlowRequest? | bucketedCashFlowRequest = default(BucketedCashFlowRequest?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetBucketedCashFlows: Get bucketed cash flows from a list of portfolios
We bucket/aggregate a transaction portfolio's instruments by date or tenor specified in the request. The cashflows are grouped by both instrumentId and currency. If you want transactional level cashflow, please use the 'GetUpsertableCashFlows' endpoint. If you want instrument cashflow, please use the 'GetPortfolioCashFlows' endpoint. Note that these endpoints do not apply bucketing.
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. |
bucketedCashFlowRequest | Request specifying the bucketing of cashflows (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<BucketedCashFlowResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetBucketedCashFlowsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
BucketedCashFlowRequest? | bucketedCashFlowRequest = default(BucketedCashFlowRequest?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetBucketedCashFlows: Get bucketed cash flows from a list of portfolios
We bucket/aggregate a transaction portfolio's instruments by date or tenor specified in the request. The cashflows are grouped by both instrumentId and currency. If you want transactional level cashflow, please use the 'GetUpsertableCashFlows' endpoint. If you want instrument cashflow, please use the 'GetPortfolioCashFlows' endpoint. Note that these endpoints do not apply bucketing.
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. |
bucketedCashFlowRequest | Request specifying the bucketing of cashflows (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<CustodianAccount> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetCustodianAccountAsync | ( | string | scope, |
string | code, | ||
string | custodianAccountScope, | ||
string | custodianAccountCode, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetCustodianAccount: Get Custodian Account
Retrieve the definition of a particular Custodian Account which is part of a Transaction Portfolios.
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. |
custodianAccountScope | The scope of the Custodian Account. |
custodianAccountCode | The code of the Custodian Account. |
effectiveAt | The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified. (optional) |
propertyKeys | A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CustodianAccount> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetCustodianAccountWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | custodianAccountScope, | ||
string | custodianAccountCode, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetCustodianAccount: Get Custodian Account
Retrieve the definition of a particular Custodian Account which is part of a Transaction Portfolios.
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. |
custodianAccountScope | The scope of the Custodian Account. |
custodianAccountCode | The code of the Custodian Account. |
effectiveAt | The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified. (optional) |
propertyKeys | A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<PortfolioDetails> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetDetailsAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetDetails: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PortfolioDetails> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetDetailsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetDetails: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<VersionedResourceListOfHoldingContributor> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingContributorsAsync | ( | string | scope, |
string | code, | ||
long | holdingId, | ||
DateTimeOrCutLabel? | effectiveDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | fromTradeDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | toTradeDate = default(DateTimeOrCutLabel?) , |
||
bool? | includeHistoric = default(bool?) , |
||
string? | taxLotId = default(string?) , |
||
int? | limit = default(int?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] GetHoldingContributors: Get Holdings Contributors
Lists all transactions that affect the holdings of a portfolio over a given effective interval. 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. |
holdingId | The unique holding identifier |
effectiveDate | Effective date (optional) |
fromTradeDate | The from trade date, defaults to first time this holding is opened, lower bound for transactions (optional) |
toTradeDate | The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions (optional) |
includeHistoric | If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened. (optional, default to false) |
taxLotId | Constrains the Holding Contributors to those which contributed to the specified tax lot. (optional) |
limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
asAt | The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional) |
page | The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<VersionedResourceListOfHoldingContributor> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingContributorsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
long | holdingId, | ||
DateTimeOrCutLabel? | effectiveDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | fromTradeDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | toTradeDate = default(DateTimeOrCutLabel?) , |
||
bool? | includeHistoric = default(bool?) , |
||
string? | taxLotId = default(string?) , |
||
int? | limit = default(int?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] GetHoldingContributors: Get Holdings Contributors
Lists all transactions that affect the holdings of a portfolio over a given effective interval. 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. |
holdingId | The unique holding identifier |
effectiveDate | Effective date (optional) |
fromTradeDate | The from trade date, defaults to first time this holding is opened, lower bound for transactions (optional) |
toTradeDate | The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions (optional) |
includeHistoric | If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened. (optional, default to false) |
taxLotId | Constrains the Holding Contributors to those which contributed to the specified tax lot. (optional) |
limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
asAt | The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional) |
page | The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<HoldingsAdjustment> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsAdjustmentAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetHoldingsAdjustment: 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) |
propertyKeys | A list of property keys from the ‘Instrument' domain to decorate onto holdings adjustments. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'. Note that properties from the 'Holding’ domain are automatically returned. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<HoldingsAdjustment> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsAdjustmentWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetHoldingsAdjustment: 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) |
propertyKeys | A list of property keys from the ‘Instrument' domain to decorate onto holdings adjustments. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'. Note that properties from the 'Holding’ domain are automatically returned. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
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?) , |
||
int? | includeSettlementEventsAfterDays = default(int?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetHoldings: 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", "Holding", "Custodian Account" or "Portfolio" 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) |
includeSettlementEventsAfterDays | Number of days ahead to bring back settlements from, in relation to the specified effectiveAt (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.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?) , |
||
int? | includeSettlementEventsAfterDays = default(int?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetHoldings: 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", "Holding", "Custodian Account" or "Portfolio" 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) |
includeSettlementEventsAfterDays | Number of days ahead to bring back settlements from, in relation to the specified effectiveAt (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<VersionedResourceListWithWarningsOfPortfolioHolding> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsWithOrdersAsync | ( | 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?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
int? | includeSettlementEventsAfterDays = default(int?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetHoldingsWithOrders: Get holdings with orders
Get the holdings of a transaction portfolio. Create virtual holdings for any outstanding orders, and account for order state/fulfillment; that is, treat outstanding orders (and related records) as if they had been realised at moment of query.
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 of the holdings 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", "Holding" or "Portfolio" domain to decorate onto the holdings. These take the format {domain}/{scope}/{code} e.g. "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) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeId (optional) |
includeSettlementEventsAfterDays | Number of days ahead to bring back settlements from, in relation to the specified effectiveAt (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<VersionedResourceListWithWarningsOfPortfolioHolding> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetHoldingsWithOrdersWithHttpInfoAsync | ( | 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?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
int? | includeSettlementEventsAfterDays = default(int?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetHoldingsWithOrders: Get holdings with orders
Get the holdings of a transaction portfolio. Create virtual holdings for any outstanding orders, and account for order state/fulfillment; that is, treat outstanding orders (and related records) as if they had been realised at moment of query.
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 of the holdings 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", "Holding" or "Portfolio" domain to decorate onto the holdings. These take the format {domain}/{scope}/{code} e.g. "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) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeId (optional) |
includeSettlementEventsAfterDays | Number of days ahead to bring back settlements from, in relation to the specified effectiveAt (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<VersionedResourceListOfHoldingContributor> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetMultipleHoldingContributorsAsync | ( | string | scope, |
string | code, | ||
HoldingIdsRequest | holdingIdsRequest, | ||
DateTimeOrCutLabel? | effectiveDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | fromTransactionDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | toTransactionDate = default(DateTimeOrCutLabel?) , |
||
bool? | includeHistoric = default(bool?) , |
||
string? | taxLotId = default(string?) , |
||
int? | limit = default(int?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] GetMultipleHoldingContributors: Get Multiple Holding Contributors
Lists all transactions that affect multiple specified holdings of a portfolio over a given effective interval. 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. |
holdingIdsRequest | The array of unique holding identifiers |
effectiveDate | Effective date (optional) |
fromTransactionDate | The from trade date, defaults to first time this holding is opened, lower bound for transactions (optional) |
toTransactionDate | The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions (optional) |
includeHistoric | If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened. (optional, default to false) |
taxLotId | Constrains the Holding Contributors to those which contributed to the specified tax lot. (optional) |
limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
asAt | The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional) |
page | The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<VersionedResourceListOfHoldingContributor> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetMultipleHoldingContributorsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
HoldingIdsRequest | holdingIdsRequest, | ||
DateTimeOrCutLabel? | effectiveDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | fromTransactionDate = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | toTransactionDate = default(DateTimeOrCutLabel?) , |
||
bool? | includeHistoric = default(bool?) , |
||
string? | taxLotId = default(string?) , |
||
int? | limit = default(int?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] GetMultipleHoldingContributors: Get Multiple Holding Contributors
Lists all transactions that affect multiple specified holdings of a portfolio over a given effective interval. 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. |
holdingIdsRequest | The array of unique holding identifiers |
effectiveDate | Effective date (optional) |
fromTransactionDate | The from trade date, defaults to first time this holding is opened, lower bound for transactions (optional) |
toTransactionDate | The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions (optional) |
includeHistoric | If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened. (optional, default to false) |
taxLotId | Constrains the Holding Contributors to those which contributed to the specified tax lot. (optional) |
limit | When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. (optional) |
asAt | The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified. (optional) |
page | The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<ResourceListOfInstrumentCashFlow> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetPortfolioCashFlowsAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowStart = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowEnd = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | filter = default(string?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
bool? | excludeUnsettledTrades = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetPortfolioCashFlows: Get portfolio cash flows
Get the set of cash flows that occur in a window for the transaction portfolio's instruments. Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows.
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. |
effectiveAt | The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. (optional) |
windowStart | The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. it is the minimum date. (optional) |
windowEnd | The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified (optional) |
asAt | The asAt datetime at which to retrieve the data. 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) |
excludeUnsettledTrades | If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set. (optional, default to false) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfInstrumentCashFlow> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetPortfolioCashFlowsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowStart = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowEnd = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | filter = default(string?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
bool? | excludeUnsettledTrades = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetPortfolioCashFlows: Get portfolio cash flows
Get the set of cash flows that occur in a window for the transaction portfolio's instruments. Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows.
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. |
effectiveAt | The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. (optional) |
windowStart | The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. it is the minimum date. (optional) |
windowEnd | The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified (optional) |
asAt | The asAt datetime at which to retrieve the data. 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) |
excludeUnsettledTrades | If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set. (optional, default to false) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<ResourceListOfPortfolioCashLadder> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetPortfolioCashLadderAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | fromEffectiveAt, | ||
DateTimeOrCutLabel | toEffectiveAt, | ||
DateTimeOrCutLabel | effectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | filter = default(string?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
bool? | excludeUnsettledTrades = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetPortfolioCashLadder: Get portfolio cash ladder
Get a cash ladder 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. |
effectiveAt | The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. |
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) |
excludeUnsettledTrades | If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set. (optional, default to false) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfPortfolioCashLadder> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetPortfolioCashLadderWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | fromEffectiveAt, | ||
DateTimeOrCutLabel | toEffectiveAt, | ||
DateTimeOrCutLabel | effectiveAt, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | filter = default(string?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
bool? | excludeUnsettledTrades = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetPortfolioCashLadder: Get portfolio cash ladder
Get a cash ladder 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. |
effectiveAt | The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. |
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) |
excludeUnsettledTrades | If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set. (optional, default to false) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
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?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetPortfolioCashStatement: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.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?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetPortfolioCashStatement: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<ResourceListOfChangeHistory> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetTransactionHistoryAsync | ( | string | scope, |
string | code, | ||
string | transactionId, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetTransactionHistory: Get the history of a transaction
Get all of the changes that have happened to a transaction.
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. |
asAt | The asAt datetime at which to retrieve the history of the transaction. Defaults to return the latest version if not specified. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfChangeHistory> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetTransactionHistoryWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | transactionId, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetTransactionHistory: Get the history of a transaction
Get all of the changes that have happened to a transaction.
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. |
asAt | The asAt datetime at which to retrieve the history of the transaction. Defaults to return the latest version if not specified. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
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?) , |
||
bool? | showCancelledTransactions = default(bool?) , |
||
List< string >? | sortBy = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetTransactions: 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', 'Transaction', "LegalEntity" or "CustodianAccount" 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. The current behaviour is to return all transactions if possible, but this will change to defaulting to 1000 if not specified in the future. It is recommended to populate this field to enable pagination. (optional) |
showCancelledTransactions | Option to specify whether or not to include cancelled transactions, including previous versions of transactions which have since been amended. Defaults to False if not specified. (optional) |
sortBy | A list of field names or properties to sort by, each suffixed by " ASC" or " DESC". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.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?) , |
||
bool? | showCancelledTransactions = default(bool?) , |
||
List< string >? | sortBy = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetTransactions: 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', 'Transaction', "LegalEntity" or "CustodianAccount" 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. The current behaviour is to return all transactions if possible, but this will change to defaulting to 1000 if not specified in the future. It is recommended to populate this field to enable pagination. (optional) |
showCancelledTransactions | Option to specify whether or not to include cancelled transactions, including previous versions of transactions which have since been amended. Defaults to False if not specified. (optional) |
sortBy | A list of field names or properties to sort by, each suffixed by " ASC" or " DESC". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<ResourceListOfTransaction> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetUpsertablePortfolioCashFlowsAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowStart = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowEnd = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | filter = default(string?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
bool? | excludeUnsettledTrades = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetUpsertablePortfolioCashFlows: Get upsertable portfolio cash flows.
Get the set of cash flows that occur in a window for the given portfolio instruments as a set of upsertable transactions (DTOs). Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows. In essence this is identical to the 'GetCashFlows' endpoint but returns the cash flows as a set of transactions suitable for directly putting back into LUSID. There are a couple of important points: (1) Internally it can not be fully known where the user wishes to insert these transactions, e.g. portfolio and movement type. These are therefore defaulted to a sensible option; the user will likely need to change these. (2) Similarly, knowledge of any properties the user might wish to add to a transaction are unknown and consequently left empty. (3) The transaction id that is added is simply a concatenation of the original transaction id, instrument id and payment date and direction. The user can happily override this.
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. |
effectiveAt | The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. (optional) |
windowStart | The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. uses minimum date-time (optional) |
windowEnd | The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified (optional) |
asAt | The asAt datetime at which to retrieve the portfolio. 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) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeID (optional) |
excludeUnsettledTrades | If absent or set to true, unsettled trades will be excluded from the result set. If set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfTransaction> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.GetUpsertablePortfolioCashFlowsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowStart = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | windowEnd = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | filter = default(string?) , |
||
string? | recipeIdScope = default(string?) , |
||
string? | recipeIdCode = default(string?) , |
||
bool? | excludeUnsettledTrades = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
GetUpsertablePortfolioCashFlows: Get upsertable portfolio cash flows.
Get the set of cash flows that occur in a window for the given portfolio instruments as a set of upsertable transactions (DTOs). Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows. In essence this is identical to the 'GetCashFlows' endpoint but returns the cash flows as a set of transactions suitable for directly putting back into LUSID. There are a couple of important points: (1) Internally it can not be fully known where the user wishes to insert these transactions, e.g. portfolio and movement type. These are therefore defaulted to a sensible option; the user will likely need to change these. (2) Similarly, knowledge of any properties the user might wish to add to a transaction are unknown and consequently left empty. (3) The transaction id that is added is simply a concatenation of the original transaction id, instrument id and payment date and direction. The user can happily override this.
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. |
effectiveAt | The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. (optional) |
windowStart | The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. uses minimum date-time (optional) |
windowEnd | The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified (optional) |
asAt | The asAt datetime at which to retrieve the portfolio. 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) |
recipeIdScope | The scope of the given recipeId (optional) |
recipeIdCode | The code of the given recipeID (optional) |
excludeUnsettledTrades | If absent or set to true, unsettled trades will be excluded from the result set. If set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<PagedResourceListOfCustodianAccount> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ListCustodianAccountsAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListCustodianAccounts: List Custodian Accounts
List the custodian accounts in a Transaction Portfolios
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 Portfolios. |
effectiveAt | The effective datetime or cut label at which to list the TimeVariant properties decorated on Custodian Accounts. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional) |
page | The pagination token to use to continue listing custodian accounts; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the results to this number. Defaults to 100 if not specified. (optional) |
filter | Expression to filter the results. For example, to filter on the Custodian Account type, specify "code eq '001'". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
propertyKeys | A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must have the format {domain}/{scope}/{code}, for example 'CustodianAccount/system/Name'. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PagedResourceListOfCustodianAccount> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ListCustodianAccountsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListCustodianAccounts: List Custodian Accounts
List the custodian accounts in a Transaction Portfolios
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 Portfolios. |
effectiveAt | The effective datetime or cut label at which to list the TimeVariant properties decorated on Custodian Accounts. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional) |
page | The pagination token to use to continue listing custodian accounts; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the results to this number. Defaults to 100 if not specified. (optional) |
filter | Expression to filter the results. For example, to filter on the Custodian Account type, specify "code eq '001'". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional) |
propertyKeys | A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must have the format {domain}/{scope}/{code}, for example 'CustodianAccount/system/Name'. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
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?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
ListHoldingsAdjustments: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfHoldingsAdjustmentHeader> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ListHoldingsAdjustmentsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | fromEffectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOrCutLabel? | toEffectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
ListHoldingsAdjustments: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<PortfolioDetails> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.PatchPortfolioDetailsAsync | ( | string | scope, |
string | code, | ||
List< Operation > | operation, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
PatchPortfolioDetails: Patch portfolio details
Create or update certain details for a particular transaction portfolio. The behaviour is defined by the JSON Patch specification. 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. Currently supported properties are: SubHoldingKeys, BaseCurrency, AmortisationMethod
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. |
operation | The patch document. |
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. Note that this will affect all bitemporal entities in the request, but will not be used for any perpetual entities. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PortfolioDetails> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.PatchPortfolioDetailsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
List< Operation > | operation, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
PatchPortfolioDetails: Patch portfolio details
Create or update certain details for a particular transaction portfolio. The behaviour is defined by the JSON Patch specification. 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. Currently supported properties are: SubHoldingKeys, BaseCurrency, AmortisationMethod
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. |
operation | The patch document. |
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. Note that this will affect all bitemporal entities in the request, but will not be used for any perpetual entities. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<ResourceListOfOutputTransaction> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.PreviewTransactionAsync | ( | string | scope, |
string | code, | ||
TransactionRequest | transactionRequest, | ||
List< string >? | propertyKeys = default(List< string >?) , |
||
bool? | showCancelledTransactions = default(bool?) , |
||
bool? | preserveProperties = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] PreviewTransaction: Preview a transaction
Returns the output-transaction(s) - e.g. as returned by BuildTransactions that would come out of LUSID if the provided TransactionRequest was booked.
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 | The transaction to be previewed. |
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) |
showCancelledTransactions | Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified. (optional) |
preserveProperties | If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfOutputTransaction> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.PreviewTransactionWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
TransactionRequest | transactionRequest, | ||
List< string >? | propertyKeys = default(List< string >?) , |
||
bool? | showCancelledTransactions = default(bool?) , |
||
bool? | preserveProperties = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] PreviewTransaction: Preview a transaction
Returns the output-transaction(s) - e.g. as returned by BuildTransactions that would come out of LUSID if the provided TransactionRequest was booked.
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 | The transaction to be previewed. |
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) |
showCancelledTransactions | Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified. (optional) |
preserveProperties | If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<UpsertPortfolioTransactionsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ResolveInstrumentAsync | ( | string | scope, |
string | code, | ||
string | instrumentIdentifierType, | ||
string | instrumentIdentifierValue, | ||
DateTimeOrCutLabel? | fromEffectiveAt = default(DateTimeOrCutLabel?) , |
||
bool? | reResolve = default(bool?) , |
||
Dictionary< string, string >? | requestBody = default(Dictionary< string, string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
ResolveInstrument: 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) |
reResolve | When set to true, instrument resolution will be attempted for all transactions and holdings for the given identifier and date range. When set to false (default behaviour), instrument resolution will only be attempted for those transactions and holdings that were previously unresolved. (optional, default to false) |
requestBody | The dictionary with the instrument identifiers to be updated on the transaction and holdings. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<UpsertPortfolioTransactionsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.ResolveInstrumentWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | instrumentIdentifierType, | ||
string | instrumentIdentifierValue, | ||
DateTimeOrCutLabel? | fromEffectiveAt = default(DateTimeOrCutLabel?) , |
||
bool? | reResolve = default(bool?) , |
||
Dictionary< string, string >? | requestBody = default(Dictionary< string, string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
ResolveInstrument: 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) |
reResolve | When set to true, instrument resolution will be attempted for all transactions and holdings for the given identifier and date range. When set to false (default behaviour), instrument resolution will only be attempted for those transactions and holdings that were previously unresolved. (optional, default to false) |
requestBody | The dictionary with the instrument identifiers to be updated on the transaction and holdings. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
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 >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
SetHoldings: 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/docs/how-do-i-manually-adjust-or-set-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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<AdjustHolding> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.SetHoldingsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel | effectiveAt, | ||
List< AdjustHoldingRequest > | adjustHoldingRequest, | ||
List< string >? | reconciliationMethods = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
SetHoldings: 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/docs/how-do-i-manually-adjust-or-set-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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<CustodianAccountsUpsertResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertCustodianAccountsAsync | ( | string | scope, |
string | code, | ||
List< CustodianAccountRequest > | custodianAccountRequest, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertCustodianAccounts: Upsert Custodian Accounts
Create or update Custodian Accounts in the Transaction Portfolios. A Custodian Account will be updated if it already exists and created if it does not. The batch limit per request is 2,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 Portfolios. |
custodianAccountRequest | A list of Custodian Accounts to be created or updated. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<CustodianAccountProperties> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertCustodianAccountsPropertiesAsync | ( | string | scope, |
string | code, | ||
string | custodianAccountScope, | ||
string | custodianAccountCode, | ||
Dictionary< string, Property >? | requestBody = default(Dictionary< string, Property >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertCustodianAccountsProperties: Upsert custodian accounts properties
Update or insert one or more properties onto a single custodian account. A property will be updated if it already exists and inserted if it does not. All properties must be of the domain 'CustodianAccount'. Upserting a property that exists for a Transaction Portfolios, with a null value, will delete the instance of the property for that group. Properties have an <i>effectiveFrom</i> datetime for which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the Transaction Portfolios to update or insert the properties onto. |
code | The code of the Transaction Portfolios to update or insert the properties onto. Together with the scope this uniquely identifies the Transaction Portfolios. |
custodianAccountScope | The scope of the Custodian Account to update or insert the properties onto. |
custodianAccountCode | The unique ID of the custodian account to create or update properties for. |
requestBody | The properties to be updated or inserted onto the Transaction Portfolio. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. "CustodianAccount/Manager/Id". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CustodianAccountProperties> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertCustodianAccountsPropertiesWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | custodianAccountScope, | ||
string | custodianAccountCode, | ||
Dictionary< string, Property >? | requestBody = default(Dictionary< string, Property >?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertCustodianAccountsProperties: Upsert custodian accounts properties
Update or insert one or more properties onto a single custodian account. A property will be updated if it already exists and inserted if it does not. All properties must be of the domain 'CustodianAccount'. Upserting a property that exists for a Transaction Portfolios, with a null value, will delete the instance of the property for that group. Properties have an <i>effectiveFrom</i> datetime for which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the Transaction Portfolios to update or insert the properties onto. |
code | The code of the Transaction Portfolios to update or insert the properties onto. Together with the scope this uniquely identifies the Transaction Portfolios. |
custodianAccountScope | The scope of the Custodian Account to update or insert the properties onto. |
custodianAccountCode | The unique ID of the custodian account to create or update properties for. |
requestBody | The properties to be updated or inserted onto the Transaction Portfolio. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. "CustodianAccount/Manager/Id". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CustodianAccountsUpsertResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertCustodianAccountsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
List< CustodianAccountRequest > | custodianAccountRequest, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertCustodianAccounts: Upsert Custodian Accounts
Create or update Custodian Accounts in the Transaction Portfolios. A Custodian Account will be updated if it already exists and created if it does not. The batch limit per request is 2,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 Portfolios. |
custodianAccountRequest | A list of Custodian Accounts to be created or updated. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<PortfolioDetails> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertPortfolioDetailsAsync | ( | string | scope, |
string | code, | ||
CreatePortfolioDetails | createPortfolioDetails, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
UpsertPortfolioDetails: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PortfolioDetails> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertPortfolioDetailsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
CreatePortfolioDetails | createPortfolioDetails, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
UpsertPortfolioDetails: 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) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<UpsertTransactionPropertiesResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionPropertiesAsync | ( | string | scope, |
string | code, | ||
string | transactionId, | ||
Dictionary< string, PerpetualProperty > | requestBody, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
UpsertTransactionProperties: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<UpsertTransactionPropertiesResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionPropertiesWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
string | transactionId, | ||
Dictionary< string, PerpetualProperty > | requestBody, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
UpsertTransactionProperties: 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. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<UpsertPortfolioTransactionsResponse> Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionsAsync | ( | string | scope, |
string | code, | ||
List< TransactionRequest > | transactionRequest, | ||
bool? | preserveProperties = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
UpsertTransactions: 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. |
preserveProperties | If set to false, the entire property set will be overwritten by the provided properties. If not specified or set to true, only the properties provided will be updated. (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<UpsertPortfolioTransactionsResponse> > Lusid.Sdk.Api.ITransactionPortfoliosApiAsync.UpsertTransactionsWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
List< TransactionRequest > | transactionRequest, | ||
bool? | preserveProperties = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
UpsertTransactions: 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. |
preserveProperties | If set to false, the entire property set will be overwritten by the provided properties. If not specified or set to true, only the properties provided will be updated. (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionPortfoliosApi.