LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
OrderManagementApi () | |
Initializes a new instance of the OrderManagementApi class. More... | |
OrderManagementApi (string basePath) | |
Initializes a new instance of the OrderManagementApi class. More... | |
OrderManagementApi (Lusid.Sdk.Client.Configuration configuration) | |
Initializes a new instance of the OrderManagementApi class using Configuration object More... | |
OrderManagementApi (Lusid.Sdk.Client.ISynchronousClient client, Lusid.Sdk.Client.IAsynchronousClient asyncClient, Lusid.Sdk.Client.IReadableConfiguration configuration) | |
Initializes a new instance of the OrderManagementApi class using a Configuration object and client instance. More... | |
string | GetBasePath () |
Gets the base path of the API client. More... | |
BookTransactionsResponse | BookTransactions (BookTransactionsRequest bookTransactionsRequest, bool? applyFeesAndCommission=default(bool?), int operationIndex=0) |
[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. More... | |
Lusid.Sdk.Client.ApiResponse< BookTransactionsResponse > | BookTransactionsWithHttpInfo (BookTransactionsRequest bookTransactionsRequest, bool? applyFeesAndCommission=default(bool?), int operationIndex=0) |
[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. More... | |
async 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. Takes a collection of allocation IDs, and maps fields from those allocations and related orders onto new transactions. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.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. Takes a collection of allocation IDs, and maps fields from those allocations and related orders onto new transactions. More... | |
ResourceListOfBlockAndOrders | CreateOrders (BlockAndOrdersCreateRequest blockAndOrdersCreateRequest, int operationIndex=0) |
[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. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfBlockAndOrders > | CreateOrdersWithHttpInfo (BlockAndOrdersCreateRequest blockAndOrdersCreateRequest, int operationIndex=0) |
[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. More... | |
async 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 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. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.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 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. More... | |
ResourceListOfMovedOrderToDifferentBlockResponse | MoveOrders (MoveOrdersToDifferentBlocksRequest moveOrdersToDifferentBlocksRequest, int operationIndex=0) |
[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. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfMovedOrderToDifferentBlockResponse > | MoveOrdersWithHttpInfo (MoveOrdersToDifferentBlocksRequest moveOrdersToDifferentBlocksRequest, int operationIndex=0) |
[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. More... | |
async 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 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. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.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 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. More... | |
ResourceListOfPlacement | PlaceBlocks (PlaceBlocksRequest? placeBlocksRequest=default(PlaceBlocksRequest?), int operationIndex=0) |
[EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests. The referenced block's existence will be verified. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfPlacement > | PlaceBlocksWithHttpInfo (PlaceBlocksRequest? placeBlocksRequest=default(PlaceBlocksRequest?), int operationIndex=0) |
[EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests. The referenced block's existence will be verified. More... | |
async 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. The referenced block's existence will be verified. More... | |
async 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)) |
[EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests. The referenced block's existence will be verified. More... | |
AllocationServiceRunResponse | RunAllocationService (List< ResourceId > resourceId, string? allocationAlgorithm=default(string?), int operationIndex=0) |
[EXPERIMENTAL] RunAllocationService: Runs the Allocation Service This will allocate executions for a given list of placements back to their originating orders. More... | |
Lusid.Sdk.Client.ApiResponse< AllocationServiceRunResponse > | RunAllocationServiceWithHttpInfo (List< ResourceId > resourceId, string? allocationAlgorithm=default(string?), int operationIndex=0) |
[EXPERIMENTAL] RunAllocationService: Runs the Allocation Service This will allocate executions for a given list of placements back to their originating orders. More... | |
async 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 This will allocate executions for a given list of placements back to their originating orders. More... | |
async 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)) |
[EXPERIMENTAL] RunAllocationService: Runs the Allocation Service This will allocate executions for a given list of placements back to their originating orders. More... | |
Properties | |
Lusid.Sdk.Client.IAsynchronousClient | AsynchronousClient [get, set] |
The client for accessing this underlying API asynchronously. More... | |
Lusid.Sdk.Client.ISynchronousClient | Client [get, set] |
The client for accessing this underlying API synchronously. More... | |
Lusid.Sdk.Client.IReadableConfiguration | Configuration [get, set] |
Gets or sets the configuration object More... | |
Lusid.Sdk.Client.ExceptionFactory | ExceptionFactory [get, set] |
Provides a factory method hook for the creation of exceptions. More... | |
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
|
inline |
Initializes a new instance of the OrderManagementApi class.
|
inline |
Initializes a new instance of the OrderManagementApi class.
|
inline |
Initializes a new instance of the OrderManagementApi class using Configuration object
configuration | An instance of Configuration |
|
inline |
Initializes a new instance of the OrderManagementApi class using a Configuration object and client instance.
client | The client interface for synchronous API access. |
asyncClient | The client interface for asynchronous API access. |
configuration | The configuration object. |
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiSync.
|
inline |
[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. |
Implements Lusid.Sdk.Api.IOrderManagementApiAsync.
|
getset |
The client for accessing this underlying API asynchronously.
|
getset |
The client for accessing this underlying API synchronously.
|
getset |
Gets or sets the configuration object
An instance of the Configuration
|
getset |
Provides a factory method hook for the creation of exceptions.