Skip to content

Commit

Permalink
Updates for v2.0.472
Browse files Browse the repository at this point in the history
  • Loading branch information
Concourse committed Feb 7, 2024
1 parent 91dbde0 commit ecdb02c
Show file tree
Hide file tree
Showing 27 changed files with 4,163 additions and 980 deletions.
2,000 changes: 1,579 additions & 421 deletions sdk/api/openapi.yaml

Large diffs are not rendered by default.

13 changes: 0 additions & 13 deletions sdk/docs/BlockAndOrderCreateRequest.md

This file was deleted.

30 changes: 0 additions & 30 deletions sdk/docs/BlockAndOrderRequest.md

This file was deleted.

4 changes: 2 additions & 2 deletions sdk/docs/BlockAndOrder.md → sdk/docs/BlockAndOrders.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@


# BlockAndOrder
# BlockAndOrders


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**block** | [**Block**](Block.md) | | |
|**order** | [**Order**](Order.md) | | |
|**orders** | [**List<Order>**](Order.md) | | |



13 changes: 13 additions & 0 deletions sdk/docs/BlockAndOrdersCreateRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# BlockAndOrdersCreateRequest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**requests** | [**List<BlockAndOrdersRequest>**](BlockAndOrdersRequest.md) | A collection of BlockAndOrdersRequest. | |



22 changes: 22 additions & 0 deletions sdk/docs/BlockAndOrdersRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@


# BlockAndOrdersRequest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**blockId** | [**ResourceId**](ResourceId.md) | | |
|**orders** | [**List<BlockedOrderRequest>**](BlockedOrderRequest.md) | An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. | |
|**blockProperties** | [**Map<String, PerpetualProperty>**](PerpetualProperty.md) | Client-defined properties associated with this block. | [optional] |
|**instrumentIdentifiers** | **Map<String, String>** | The instrument ordered. | |
|**side** | **String** | The client's representation of the block's side (buy, sell, short, etc) | |
|**type** | **String** | The block order's type (examples: Limit, Market, ...) | [optional] |
|**timeInForce** | **String** | The block orders' time in force (examples: Day, GoodTilCancel, ...) | [optional] |
|**date** | **OffsetDateTime** | The date on which the block was made | [optional] |
|**limitPrice** | [**CurrencyAndAmount**](CurrencyAndAmount.md) | | [optional] |
|**stopPrice** | [**CurrencyAndAmount**](CurrencyAndAmount.md) | | [optional] |



22 changes: 22 additions & 0 deletions sdk/docs/BlockedOrderRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@


# BlockedOrderRequest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**properties** | [**Map<String, PerpetualProperty>**](PerpetualProperty.md) | Client-defined properties associated with this order. | [optional] |
|**quantity** | **java.math.BigDecimal** | The quantity of given instrument ordered. | |
|**orderBookId** | [**ResourceId**](ResourceId.md) | | [optional] |
|**portfolioId** | [**ResourceId**](ResourceId.md) | | [optional] |
|**id** | [**ResourceId**](ResourceId.md) | | |
|**state** | **String** | The order's state (examples: New, PartiallyFilled, ...) | [optional] |
|**date** | **OffsetDateTime** | The date on which the order was made | [optional] |
|**price** | [**CurrencyAndAmount**](CurrencyAndAmount.md) | | [optional] |
|**orderInstruction** | [**ResourceId**](ResourceId.md) | | [optional] |
|**_package** | [**ResourceId**](ResourceId.md) | | [optional] |



15 changes: 15 additions & 0 deletions sdk/docs/GetRecipeComposerResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# GetRecipeComposerResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**href** | **URI** | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. | [optional] |
|**value** | [**RecipeComposer**](RecipeComposer.md) | | [optional] |
|**links** | [**List<Link>**](Link.md) | | [optional] |



18 changes: 9 additions & 9 deletions sdk/docs/OrderManagementApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All URIs are relative to *https://www.lusid.com/api*
| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**bookTransactions**](OrderManagementApi.md#bookTransactions) | **POST** /api/ordermanagement/booktransactions | [EXPERIMENTAL] BookTransactions: Books transactions using specific allocations as a source. |
| [**createOrders**](OrderManagementApi.md#createOrders) | **POST** /api/ordermanagement/createorders | [EARLY ACCESS] CreateOrders: Create Block and Order pairs |
| [**createOrders**](OrderManagementApi.md#createOrders) | **POST** /api/ordermanagement/createorders | [EARLY ACCESS] CreateOrders: Upsert a Block and associated orders |
| [**placeBlocks**](OrderManagementApi.md#placeBlocks) | **POST** /api/ordermanagement/placeblocks | [EARLY ACCESS] PlaceBlocks: Places blocks for a given list of placement requests. |
| [**runAllocationService**](OrderManagementApi.md#runAllocationService) | **POST** /api/ordermanagement/allocate | [EXPERIMENTAL] RunAllocationService: Runs the Allocation Service |

Expand Down Expand Up @@ -85,11 +85,11 @@ public class Example {

<a id="createOrders"></a>
# **createOrders**
> ResourceListOfBlockAndOrder createOrders(blockAndOrderCreateRequest).execute();
> ResourceListOfBlockAndOrders createOrders(blockAndOrdersCreateRequest).execute();
[EARLY ACCESS] CreateOrders: Create Block and Order pairs
[EARLY ACCESS] CreateOrders: Upsert a Block and associated orders

Create new block and order pairs.
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.

### Example
```java
Expand All @@ -111,9 +111,9 @@ public class Example {
oauth2.setAccessToken("YOUR ACCESS TOKEN");

OrderManagementApi apiInstance = new OrderManagementApi(defaultClient);
BlockAndOrderCreateRequest blockAndOrderCreateRequest = new BlockAndOrderCreateRequest(); // BlockAndOrderCreateRequest | The collection of block and order requests.
BlockAndOrdersCreateRequest blockAndOrdersCreateRequest = new BlockAndOrdersCreateRequest(); // BlockAndOrdersCreateRequest | The collection of block and orders requests.
try {
ResourceListOfBlockAndOrder result = apiInstance.createOrders(blockAndOrderCreateRequest)
ResourceListOfBlockAndOrders result = apiInstance.createOrders(blockAndOrdersCreateRequest)
.execute();
System.out.println(result);
} catch (ApiException e) {
Expand All @@ -131,11 +131,11 @@ public class Example {

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **blockAndOrderCreateRequest** | [**BlockAndOrderCreateRequest**](BlockAndOrderCreateRequest.md)| The collection of block and order requests. | |
| **blockAndOrdersCreateRequest** | [**BlockAndOrdersCreateRequest**](BlockAndOrdersCreateRequest.md)| The collection of block and orders requests. | |

### Return type

[**ResourceListOfBlockAndOrder**](ResourceListOfBlockAndOrder.md)
[**ResourceListOfBlockAndOrders**](ResourceListOfBlockAndOrders.md)

### Authorization

Expand All @@ -149,7 +149,7 @@ public class Example {
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **201** | A collection of block and order pairs. | - |
| **201** | A collection of block and associated orders. | - |
| **400** | The details of the input related failure | - |
| **0** | Error response | - |

Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/RecipeComposer.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Recipe composer is an object used to dynamically compose Configuration Recipe fr

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**code** | **String** | User given string name (code) to identify the recipe. | |
|**scope** | **String** | The scope used when updating or inserting the Recipe Composer. | |
|**code** | **String** | User given string name (code) to identify the recipe. | |
|**operations** | [**List&lt;RecipeBlock&gt;**](RecipeBlock.md) | Atomic operations used to compose a Configuration Recipe. | [optional] |


Expand Down
Loading

0 comments on commit ecdb02c

Please sign in to comment.