Date: Fri, 29 Mar 2024 10:05:39 +0000 (UTC) Message-ID: <464295022.11.1711706739523@345dfa9030fd> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10_114918307.1711706739523" ------=_Part_10_114918307.1711706739523 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
FundBatchOrders is a legacy property that is used for batch orde= rs with regards to the Execution Interface called MFEX. If a TradeOrder is = created with Execution Interface set to MFEX and the TradeOrders are batche= d together for sending one order to MFEX a FundBatchOrder will be created. = This method is available as of version 2.32.
GetFundBatchOrders only display a single TradeDate and SettlementDate. I= f you wish to see specific dates for both the cash and instrument leg of th= e transaction you can select underlying TradeOrders to view InstrumentTrade= Date, CashTradeDate, InstrumentSettlementDate, and CashSettlementDate separ= ately.
Name |
Type |
Description |
Mandatory |
Available from version |
---|---|---|---|---|
BrickIds |
Guid[] |
Filter by array of BrickIds. BrickId is the internal id of an order <= /td> | ||
States |
String[] |
Filter orders by states. To find a list with states use the back office = GUI and navigate to System Data=E2=86=92Workflows and find the Key with the= name FundBatchOrder |
||
Instruments |
Guid[] |
Filter by array of InstrumentIds. |
||
ExternalReferences |
String[] |
Filter by ExternalReferences |
||
OrderNos |
String[] |
Filter by order numbers |
||
ExecutionInterface |
Guid[] |
Filter by the BfsId of Execution Interface = td> | ||
ExecutionInterfaceKey |
String |
Filter by Execution Interface key |
||
CreatedDateFrom |
DateTime |
When used, both from date and to date should be provided in the request<= /p> |
||
CreatedDateTo |
DateTime |
|||
IsPrePayed |
Bool |
This value is true if the order is of the type called pre-payed, meaning= that cash for settlement is transferred before execution is done |
||
IsUnitOrder |
Bool |
This value is true if the order was placed in number of fund units as op= posed to a cash value |
||
PaymentConfirmationDateFrom |
DateTime |
Filters the orders based on which date the confirmation of payment was r= ecorded. When used, both from date and to date should be provided in the re= quest. |
2.32 |
|
PaymentConfirmationDateTo |
DateTime |
2.32 |
Name |
Type |
Description |
Available from version |
---|---|---|---|
BrickId |
Guid |
The BrickId of the order |
|
CashAmount |
Decimal |
The amount in cash |
|
InstrumentAmount |
Decimal |
The amount in units |
|
TradeOrderDirectionKey |
String |
"Buy" or "Sell" |
|
Instrument |
Guid |
The associated instrument |
|
Cash |
Guid |
The associated Cash |
|
Price |
Double |
The price of the order |
|
State |
String |
The current state of the order |
|
IsUnitOrder |
Bool |
True if the order is traded in units |
|
OrderNo |
String |
The order number of the order |
|
|
|
|
Depreciated in 2.41 |
|
|
|
Depreciated in 2.41 |
|
|
|
Depreciated in 2.41 |
|
|
|
Depreciated in 2.41 |
SentDate |
DateTime |
The date the order was sent to an order route |
|
ExternalReference |
String |
External reference on the order |
|
ExecutionInterfaceKey |
String |
The key name of the associated execution interface |
|
ExecutionInterface |
Guid |
The BrickId of the execution interface |
|
CreatedDate |
DateTime |
The timestamp of when the order was created |
|
IsPrePayed |
Bool |
True if the order follows the pre pay order process |
|
PaymentConfirmationDate |
DateTime |
If the order has received a payment confirmation this field will display= the date for the confirmation |
|
TradeDate |
DateTime |
The date when the instrument was traded |
2.41 |
SettlementDate |
DateTime |
The date when cash was settled |
2.41 |
//U= se the GetFundBatchOrders method=20 var client =3D new BFSServiceReference.bfsapiSoapClient(); var credentials =3D new BFSServiceReference.Credentials() { UserName =3D bfsusername, //Username of administrative user in your ins= tance of BFS Password =3D bfspassword, //Password of the administrative user in your= instance of BFS }; var accounttypes =3D client.GetFundBatchOrders(new BFSServiceReference.GetF= undBatchOrdersRequest() { Credentials =3D credentials, identify =3D bfsidentifier, //Identifier is a unique token for your ins= tance of BFS =20 Args =3D new GetFundBatchOrdersArgs() { BrickIds =3D new Guid[] { new Guid("928f5a5a-5abf-45e7-977c-b716f73b7618"), } }, Fields =3D new BFSServiceReference.GetFundBatchOrderFields() { BrickId =3D true, CashAmount =3D true, InstrumentAmount =3D true, TradeOrderDirectionKey =3D true, Instrument =3D true, Cash =3D true, Price =3D true, State =3D true, IsUnitOrder =3D true, OrderNo =3D true, =20 ExternalReference =3D true, CreatedDate =3D true, ExecutionInterfaceKey =3D true, ExecutionInterface =3D true, IsPrePayed =3D true, SentDate =3D true, SettledAmount =3D true, PaymentConfirmationDate =3D true, TradeDate =3D true, SettlementDate =3D true }, }); foreach (var c in accounttypes.Result) { Console.WriteLine(c.BrickId + "," + c.CashAmount + "," + c.InstrumentAmount + "," + c.TradeOrderDirectionKey + "," + c.Instrument + "," + c.Cash + "," + c.Price + "," + c.State + "," + c.IsUnitOrder + "," + c.OrderNo + "," + c.TradeDate + "," + c.SettlementDate + "," + c.ExternalReference + "," + c.CreatedDate + "," + c.ExecutionInterfaceKey + "," + c.ExecutionInterface + "," + c.IsPrePayed + "," + c.SentDate + "," + c.SettledAmount + "," + c.PaymentConfirmationDate ); }
Create a blog post to share news and announcements with your team and co= mpany.