True if asset (cash or instrument) should be reserved
Limit price. Negative amount is not allowed.
Not used as an input. The created order will receive an order number that is returned in the output.
Not used as an input. The reference to the business event associated with the created order.
An external reference that will be stored on the order
Order settlement type is only applicable for orders with the Internal execution interface.
PRICE (Not supported)
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
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
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.
TRS property. List of decision makers that should be associated with the order. Read more about TRS and decision makers here: TRS Manager
TRS property. The person within the investment firm who is responsible for the investment decision. Also called Investment decision within firm. Read more in our KB: TRS Manager This field should only be populated if the DecisionMaker (the firm making the decisions) is the same firm as is the ExecutingParty.
TRS property. The short selling indicator is used in TRS reporting to define if a trade of the type Sell was a short sale or not. The allowed values are:
SESH = Short sale with no exemption SELL = No short sale, selling a current position SSEX = Short sale with exemption UNDI = Information not available NotApplicable = This can be used if the order was a buy order and the short sale indicator is not applicable. This will be set by default by BFS for any Buy orders.
//Create an order using the CreateTradeOrders method
var client = new BFSServiceReference.bfsapiSoapClient();
var credentials = new BFSServiceReference.Credentials()
UserName = bfsusername, //Username of administrative user in your instance of BFS
Password = bfspassword, //Password of the administrative user in your instance of BFS
var response = client.CreateTradeOrders(new BFSServiceReference.CreateTradeOrderRequest()
Credentials = credentials,
identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
Entities = new
TradeOrderDirectionKey = "Buy",
Account = new Guid("cbfe4a0d-bf05-4a7e-bdc8-1ee809817bee"),
Instrument = new Guid("138e92a5-f1d6-4473-9ca4-45f511881676"),
CashCurrencyCode = "EUR",
CashAmount = 100M,
CommissionAmount = 0M,
ReserveAssets = true,
ExternalReference = "MyTestOrder",
OrderSettlementType = OrderSettlementType.PAYMENT,
ExecutionInterfaceKey = "Manual"
//Show information about the created orders
foreach (var c in response.Entities)
Console.WriteLine(c.BrickId + ", " + c.OrderNo);
Create a blog post to share news and announcements with your team and company.