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

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

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

Public Member Functions

System.Threading.Tasks.Task< BookTransactionsResponseBookTransactionsAsync (BookTransactionsRequest bookTransactionsRequest, bool? applyFeesAndCommission=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] BookTransactions: Books transactions using specific allocations as a source. More...
 
System.Threading.Tasks.Task< ApiResponse< BookTransactionsResponse > > BookTransactionsWithHttpInfoAsync (BookTransactionsRequest bookTransactionsRequest, bool? applyFeesAndCommission=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] BookTransactions: Books transactions using specific allocations as a source. More...
 
System.Threading.Tasks.Task< ResourceListOfBlockAndOrdersCreateOrdersAsync (BlockAndOrdersCreateRequest blockAndOrdersCreateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] CreateOrders: Upsert a Block and associated orders More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfBlockAndOrders > > CreateOrdersWithHttpInfoAsync (BlockAndOrdersCreateRequest blockAndOrdersCreateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] CreateOrders: Upsert a Block and associated orders More...
 
System.Threading.Tasks.Task< ResourceListOfMovedOrderToDifferentBlockResponseMoveOrdersAsync (MoveOrdersToDifferentBlocksRequest moveOrdersToDifferentBlocksRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] MoveOrders: Move orders to new or existing block More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfMovedOrderToDifferentBlockResponse > > MoveOrdersWithHttpInfoAsync (MoveOrdersToDifferentBlocksRequest moveOrdersToDifferentBlocksRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] MoveOrders: Move orders to new or existing block More...
 
System.Threading.Tasks.Task< ResourceListOfPlacementPlaceBlocksAsync (PlaceBlocksRequest? placeBlocksRequest=default(PlaceBlocksRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests. More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfPlacement > > PlaceBlocksWithHttpInfoAsync (PlaceBlocksRequest? placeBlocksRequest=default(PlaceBlocksRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests. More...
 
System.Threading.Tasks.Task< AllocationServiceRunResponseRunAllocationServiceAsync (List< ResourceId > resourceId, string? allocationAlgorithm=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] RunAllocationService: Runs the Allocation Service More...
 
System.Threading.Tasks.Task< ApiResponse< AllocationServiceRunResponse > > RunAllocationServiceWithHttpInfoAsync (List< ResourceId > resourceId, string? allocationAlgorithm=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] RunAllocationService: Runs the Allocation Service More...
 
- Public Member Functions inherited from Lusid.Sdk.Client.IApiAccessor
string GetBasePath ()
 Gets the base path of the API client. More...
 

Additional Inherited Members

- Properties inherited from Lusid.Sdk.Client.IApiAccessor
IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ BookTransactionsAsync()

System.Threading.Tasks.Task<BookTransactionsResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.BookTransactionsAsync ( BookTransactionsRequest  bookTransactionsRequest,
bool?  applyFeesAndCommission = default(bool?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EXPERIMENTAL] BookTransactions: Books transactions using specific allocations as a source.

Takes a collection of allocation IDs, and maps fields from those allocations and related orders onto new transactions.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
bookTransactionsRequestThe allocations to create transactions for
applyFeesAndCommissionWhether to apply fees and commissions to transactions (default: true) (optional, default to true)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of BookTransactionsResponse

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ BookTransactionsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<BookTransactionsResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.BookTransactionsWithHttpInfoAsync ( BookTransactionsRequest  bookTransactionsRequest,
bool?  applyFeesAndCommission = default(bool?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EXPERIMENTAL] BookTransactions: Books transactions using specific allocations as a source.

Takes a collection of allocation IDs, and maps fields from those allocations and related orders onto new transactions.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
bookTransactionsRequestThe allocations to create transactions for
applyFeesAndCommissionWhether to apply fees and commissions to transactions (default: true) (optional, default to true)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (BookTransactionsResponse)

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ CreateOrdersAsync()

System.Threading.Tasks.Task<ResourceListOfBlockAndOrders> Lusid.Sdk.Api.IOrderManagementApiAsync.CreateOrdersAsync ( BlockAndOrdersCreateRequest  blockAndOrdersCreateRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] CreateOrders: Upsert a Block and associated orders

Upsert a Block and create associated orders. This will fail if the block exists and already references orders with differing fields to the upsert request.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockAndOrdersCreateRequestThe collection of block and orders requests.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfBlockAndOrders

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ CreateOrdersWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfBlockAndOrders> > Lusid.Sdk.Api.IOrderManagementApiAsync.CreateOrdersWithHttpInfoAsync ( BlockAndOrdersCreateRequest  blockAndOrdersCreateRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] CreateOrders: Upsert a Block and associated orders

Upsert a Block and create associated orders. This will fail if the block exists and already references orders with differing fields to the upsert request.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockAndOrdersCreateRequestThe collection of block and orders requests.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfBlockAndOrders)

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ MoveOrdersAsync()

System.Threading.Tasks.Task<ResourceListOfMovedOrderToDifferentBlockResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.MoveOrdersAsync ( MoveOrdersToDifferentBlocksRequest  moveOrdersToDifferentBlocksRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] MoveOrders: Move orders to new or existing block

Move an order to a block, creating the block if it does not already exist. This will fail if the block exists and already references orders with differing fields to the upsert request.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
moveOrdersToDifferentBlocksRequestThe collection of order and destination block ids.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfMovedOrderToDifferentBlockResponse

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ MoveOrdersWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfMovedOrderToDifferentBlockResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.MoveOrdersWithHttpInfoAsync ( MoveOrdersToDifferentBlocksRequest  moveOrdersToDifferentBlocksRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] MoveOrders: Move orders to new or existing block

Move an order to a block, creating the block if it does not already exist. This will fail if the block exists and already references orders with differing fields to the upsert request.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
moveOrdersToDifferentBlocksRequestThe collection of order and destination block ids.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfMovedOrderToDifferentBlockResponse)

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ PlaceBlocksAsync()

System.Threading.Tasks.Task<ResourceListOfPlacement> Lusid.Sdk.Api.IOrderManagementApiAsync.PlaceBlocksAsync ( PlaceBlocksRequest placeBlocksRequest = default(PlaceBlocksRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests.

The referenced block&#39;s existence will be verified.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
placeBlocksRequestThe request containing the blocks to the placed. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfPlacement

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ PlaceBlocksWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfPlacement> > Lusid.Sdk.Api.IOrderManagementApiAsync.PlaceBlocksWithHttpInfoAsync ( PlaceBlocksRequest placeBlocksRequest = default(PlaceBlocksRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests.

The referenced block&#39;s existence will be verified.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
placeBlocksRequestThe request containing the blocks to the placed. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfPlacement)

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ RunAllocationServiceAsync()

System.Threading.Tasks.Task<AllocationServiceRunResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.RunAllocationServiceAsync ( List< ResourceId resourceId,
string?  allocationAlgorithm = default(string?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EXPERIMENTAL] RunAllocationService: Runs the Allocation Service

This will allocate executions for a given list of placements back to their originating orders.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
resourceIdThe List of Placement IDs for which you wish to allocate executions.
allocationAlgorithmA string representation of the allocation algorithm you would like to use to allocate shares from executions e.g. &quot;PR-FIFO&quot;. This defaults to &quot;PR-FIFO&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of AllocationServiceRunResponse

Implemented in Lusid.Sdk.Api.OrderManagementApi.

◆ RunAllocationServiceWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<AllocationServiceRunResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.RunAllocationServiceWithHttpInfoAsync ( List< ResourceId resourceId,
string?  allocationAlgorithm = default(string?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EXPERIMENTAL] RunAllocationService: Runs the Allocation Service

This will allocate executions for a given list of placements back to their originating orders.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
resourceIdThe List of Placement IDs for which you wish to allocate executions.
allocationAlgorithmA string representation of the allocation algorithm you would like to use to allocate shares from executions e.g. &quot;PR-FIFO&quot;. This defaults to &quot;PR-FIFO&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (AllocationServiceRunResponse)

Implemented in Lusid.Sdk.Api.OrderManagementApi.


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