...
Name | Type | Description | Mandatory | Available from version |
---|---|---|---|---|
BrickId | Guid | Not used. | ||
TradeOrderDirectionKey | string | Should be "Buy" or "Sell" | True | |
Account | Guid | The account to be associated with the order | True | |
Instrument | Guid | The instrument to be associated with the order | True | |
Cash | Guid? | The Cash to be associated with the order. If this Id is not known, CashCurrencyCode can be used instead. | True | |
CashCurrencyCode | string | The currency code, for example SEK, USD, EUR | ||
InstrumentAmount | Decimal? | The Amount in units. Negative amount is not allowed. | True | |
CashAmount | Decimal? | The Amount in units Cash. Negative amount is not allowed. | True | |
CommissionAmount | Decimal | The commission amount. Negative amount is not allowed. | True | |
OverrideCommissionAmount | bool | True if commission should override the existing fee configuration | ||
IsUnitOrder | bool | True if order is in units | ||
ReserveAssets | bool | True if asset (cash or instrument) should be reserved | ||
LimitPrice | decimal | Limit price. Negative amount is not allowed. | ||
OrderNo | string | Not used as an input. The created order will receive an order number that is returned in the output. | ||
ExternalReference | string | An external reference that will be stored on the order | ||
OrderSettlementType | Enum | Order settlement type is only applicable for orders with the Internal execution interface. PAYMENT CONFIRMATION PRICE (Not supported) | 2.02 | |
ExecutionInterfaceKey | String | The key of the Execution Interface that should be used for the order. The key can be found in the GUI depending on which interfaces are created for the BFS instance. This information can be found by navigating to SystemData->ExecutionInterfaces | True | 2.02 |
OrderDateAndTime | DateTime | The date representing when the order was placed. This is not the system CreationDate which is set by BFS when the order is inputted via this method. Saved as OrderDate in BFS | 2.02 | |
CustomFields | Object[] | CustomFields is an array of CustomField objects. Each CustomField consists of two strings, FieldName and Value. There are no datatypes associated with these properties, they are just a way for api-users to add custimized data to the object. | 2.09 |
Outputs
Name | Type | Description |
---|---|---|
Entities | Array | All trade orders is returned along with each trade order's BrickId, OrderNo and array of Errors per trade order |
...