LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
System.Threading.Tasks.Task< BookTransactionsResponse > | 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. 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< ResourceListOfBlockAndOrders > | CreateOrdersAsync (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< ResourceListOfMovedOrderToDifferentBlockResponse > | MoveOrdersAsync (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< ResourceListOfPlacement > | 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. 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< AllocationServiceRunResponse > | 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 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... | |
Represents a collection of functions to interact with the API endpoints
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
bookTransactionsRequest | The allocations to create transactions for |
applyFeesAndCommission | Whether to apply fees and commissions to transactions (default: true) (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
bookTransactionsRequest | The allocations to create transactions for |
applyFeesAndCommission | Whether to apply fees and commissions to transactions (default: true) (optional, default to true) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
blockAndOrdersCreateRequest | The collection of block and orders requests. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
blockAndOrdersCreateRequest | The collection of block and orders requests. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
moveOrdersToDifferentBlocksRequest | The collection of order and destination block ids. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
moveOrdersToDifferentBlocksRequest | The collection of order and destination block ids. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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's existence will be verified.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
placeBlocksRequest | The request containing the blocks to the placed. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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's existence will be verified.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
placeBlocksRequest | The request containing the blocks to the placed. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
resourceId | The List of Placement IDs for which you wish to allocate executions. |
allocationAlgorithm | A string representation of the allocation algorithm you would like to use to allocate shares from executions e.g. "PR-FIFO". This defaults to "PR-FIFO". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
resourceId | The List of Placement IDs for which you wish to allocate executions. |
allocationAlgorithm | A string representation of the allocation algorithm you would like to use to allocate shares from executions e.g. "PR-FIFO". This defaults to "PR-FIFO". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.