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?), bool? markOrdersAndAllocationsAsBooked=default(bool?), bool? usePreviewTransactionsForPricing=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] BookTransactions: Books transactions using specific allocations as a source. More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< BookTransactionsResponse > > | BookTransactionsWithHttpInfoAsync (BookTransactionsRequest bookTransactionsRequest, bool? applyFeesAndCommission=default(bool?), bool? markOrdersAndAllocationsAsBooked=default(bool?), bool? usePreviewTransactionsForPricing=default(bool?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] BookTransactions: Books transactions using specific allocations as a source. More... | |
System.Threading.Tasks.Task< CancelOrdersResponse > | CancelOrdersAsync (Dictionary< string, ResourceId > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelOrders: Cancel existing orders More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CancelOrdersResponse > > | CancelOrdersWithHttpInfoAsync (Dictionary< string, ResourceId > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelOrders: Cancel existing orders More... | |
System.Threading.Tasks.Task< CancelOrdersAndMoveRemainingResponse > | CancelOrdersAndMoveRemainingAsync (Dictionary< string, CancelOrdersAndMoveRemainingRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelOrdersAndMoveRemaining: Cancel existing orders and move any unplaced quantities to new orders in new blocks More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CancelOrdersAndMoveRemainingResponse > > | CancelOrdersAndMoveRemainingWithHttpInfoAsync (Dictionary< string, CancelOrdersAndMoveRemainingRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelOrdersAndMoveRemaining: Cancel existing orders and move any unplaced quantities to new orders in new blocks More... | |
System.Threading.Tasks.Task< CancelPlacementsResponse > | CancelPlacementsAsync (Dictionary< string, ResourceId > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelPlacements: Cancel existing placements More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CancelPlacementsResponse > > | CancelPlacementsWithHttpInfoAsync (Dictionary< string, ResourceId > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CancelPlacements: Cancel existing placements More... | |
System.Threading.Tasks.Task< ResourceListOfBlockAndOrders > | CreateOrdersAsync (BlockAndOrdersCreateRequest blockAndOrdersCreateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateOrders: Upsert a Block and associated orders More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfBlockAndOrders > > | CreateOrdersWithHttpInfoAsync (BlockAndOrdersCreateRequest blockAndOrdersCreateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateOrders: Upsert a Block and associated orders More... | |
System.Threading.Tasks.Task< ResourceListOfChangeIntervalWithOrderManagementDetail > | GetOrderHistoryAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfChangeIntervalWithOrderManagementDetail > > | GetOrderHistoryWithHttpInfoAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes More... | |
System.Threading.Tasks.Task< ResourceListOfMovedOrderToDifferentBlockResponse > | MoveOrdersAsync (MoveOrdersToDifferentBlocksRequest moveOrdersToDifferentBlocksRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] MoveOrders: Move orders to new or existing block More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfMovedOrderToDifferentBlockResponse > > | MoveOrdersWithHttpInfoAsync (MoveOrdersToDifferentBlocksRequest moveOrdersToDifferentBlocksRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[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), ConfigurationOptions? opts=null) |
[EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests. More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfPlacement > > | PlaceBlocksWithHttpInfoAsync (PlaceBlocksRequest? placeBlocksRequest=default(PlaceBlocksRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[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), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] RunAllocationService: Runs the Allocation Service More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< AllocationServiceRunResponse > > | RunAllocationServiceWithHttpInfoAsync (List< ResourceId > resourceId, string? allocationAlgorithm=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] RunAllocationService: Runs the Allocation Service More... | |
System.Threading.Tasks.Task< UpdateOrdersResponse > | UpdateOrdersAsync (Dictionary< string, OrderUpdateRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdateOrders: Update existing orders More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< UpdateOrdersResponse > > | UpdateOrdersWithHttpInfoAsync (Dictionary< string, OrderUpdateRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdateOrders: Update existing orders More... | |
System.Threading.Tasks.Task< UpdatePlacementsResponse > | UpdatePlacementsAsync (Dictionary< string, PlacementUpdateRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdatePlacements: Update existing placements More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< UpdatePlacementsResponse > > | UpdatePlacementsWithHttpInfoAsync (Dictionary< string, PlacementUpdateRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdatePlacements: Update existing placements 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?) , |
||
bool? | markOrdersAndAllocationsAsBooked = default(bool?) , |
||
bool? | usePreviewTransactionsForPricing = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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) |
markOrdersAndAllocationsAsBooked | Whether to mark allocations and fully-booked orders with state Booked (optional, default to false) |
usePreviewTransactionsForPricing | Whether to use calculators for the transaction type to work out pricing fields on the booked transactions (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.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<BookTransactionsResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.BookTransactionsWithHttpInfoAsync | ( | BookTransactionsRequest | bookTransactionsRequest, |
bool? | applyFeesAndCommission = default(bool?) , |
||
bool? | markOrdersAndAllocationsAsBooked = default(bool?) , |
||
bool? | usePreviewTransactionsForPricing = default(bool?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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) |
markOrdersAndAllocationsAsBooked | Whether to mark allocations and fully-booked orders with state Booked (optional, default to false) |
usePreviewTransactionsForPricing | Whether to use calculators for the transaction type to work out pricing fields on the booked transactions (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.OrderManagementApi.
System.Threading.Tasks.Task<CancelOrdersAndMoveRemainingResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.CancelOrdersAndMoveRemainingAsync | ( | Dictionary< string, CancelOrdersAndMoveRemainingRequest > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelOrdersAndMoveRemaining: Cancel existing orders and move any unplaced quantities to new orders in new blocks
Cancels existing orders, reducing their quantities to those aleady placed. Any remaining quantities are moved to new orders in new blocks. The placed quantities are distributed to the cancelled orders on a pro-rata basis.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the orders to be cancelled, and the destinations of remaining quantities. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CancelOrdersAndMoveRemainingResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.CancelOrdersAndMoveRemainingWithHttpInfoAsync | ( | Dictionary< string, CancelOrdersAndMoveRemainingRequest > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelOrdersAndMoveRemaining: Cancel existing orders and move any unplaced quantities to new orders in new blocks
Cancels existing orders, reducing their quantities to those aleady placed. Any remaining quantities are moved to new orders in new blocks. The placed quantities are distributed to the cancelled orders on a pro-rata basis.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the orders to be cancelled, and the destinations of remaining quantities. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<CancelOrdersResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.CancelOrdersAsync | ( | Dictionary< string, ResourceId > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelOrders: Cancel existing orders
The response returns both the collection of successfully canceled orders, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the ids of the orders to be cancelled. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CancelOrdersResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.CancelOrdersWithHttpInfoAsync | ( | Dictionary< string, ResourceId > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelOrders: Cancel existing orders
The response returns both the collection of successfully canceled orders, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the ids of the orders to be cancelled. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<CancelPlacementsResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.CancelPlacementsAsync | ( | Dictionary< string, ResourceId > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelPlacements: Cancel existing placements
The response returns both the collection of successfully canceled placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the ids of the placements to be cancelled. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CancelPlacementsResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.CancelPlacementsWithHttpInfoAsync | ( | Dictionary< string, ResourceId > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] CancelPlacements: Cancel existing placements
The response returns both the collection of successfully canceled placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the ids of the placements to be cancelled. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this 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) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfBlockAndOrders> > Lusid.Sdk.Api.IOrderManagementApiAsync.CreateOrdersWithHttpInfoAsync | ( | BlockAndOrdersCreateRequest | blockAndOrdersCreateRequest, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<ResourceListOfChangeIntervalWithOrderManagementDetail> Lusid.Sdk.Api.IOrderManagementApiAsync.GetOrderHistoryAsync | ( | string | scope, |
string | code, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes
Get the changes that have happened to an order and related entities.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the order. |
code | The code of the order. |
asAt | The asAt datetime at which to retrieve the history of the order and related entities. 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.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfChangeIntervalWithOrderManagementDetail> > Lusid.Sdk.Api.IOrderManagementApiAsync.GetOrderHistoryWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes
Get the changes that have happened to an order and related entities.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope of the order. |
code | The code of the order. |
asAt | The asAt datetime at which to retrieve the history of the order and related entities. 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.OrderManagementApi.
System.Threading.Tasks.Task<ResourceListOfMovedOrderToDifferentBlockResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.MoveOrdersAsync | ( | MoveOrdersToDifferentBlocksRequest | moveOrdersToDifferentBlocksRequest, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfMovedOrderToDifferentBlockResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.MoveOrdersWithHttpInfoAsync | ( | MoveOrdersToDifferentBlocksRequest | moveOrdersToDifferentBlocksRequest, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this 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) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfPlacement> > Lusid.Sdk.Api.IOrderManagementApiAsync.PlaceBlocksWithHttpInfoAsync | ( | PlaceBlocksRequest? | placeBlocksRequest = default(PlaceBlocksRequest?) , |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this 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) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.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) , |
||
ConfigurationOptions? | opts = null |
||
) |
[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. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<UpdateOrdersResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.UpdateOrdersAsync | ( | Dictionary< string, OrderUpdateRequest > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] UpdateOrders: Update existing orders
The response returns both the collection of successfully updated orders, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the orders to be updated. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<UpdateOrdersResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.UpdateOrdersWithHttpInfoAsync | ( | Dictionary< string, OrderUpdateRequest > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] UpdateOrders: Update existing orders
The response returns both the collection of successfully updated orders, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the orders to be updated. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<UpdatePlacementsResponse> Lusid.Sdk.Api.IOrderManagementApiAsync.UpdatePlacementsAsync | ( | Dictionary< string, PlacementUpdateRequest > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] UpdatePlacements: Update existing placements
The response returns both the collection of successfully updated placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the placements to be updated. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<UpdatePlacementsResponse> > Lusid.Sdk.Api.IOrderManagementApiAsync.UpdatePlacementsWithHttpInfoAsync | ( | Dictionary< string, PlacementUpdateRequest > | requestBody, |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] UpdatePlacements: Update existing placements
The response returns both the collection of successfully updated placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | The request containing the placements to be updated. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrderManagementApi.