Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

CashTradeDate

DateTime

The date the cash leg of the order was executed

Depreciated in 2.41

InstrumentTradeDate

DateTime

The date the instrument leg of the order was executed

Depreciated in 2.41

CashSettlementDate

DateTime

The date the cash leg of the order was settled

Depreciated in 2.41

InstrumentSettlementDate

DateTime

The date the instrument leg of the order was settled

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 trade date of the group orderwhen the instrument was traded

2.41

SettlementDate

DateTime

The settlement date of the group orderdate when cash was settled

2.41

Code examples

C# - GetExternalFundBatchOrders
Code Block
languagec#
 //Use the GetFundBatchOrders 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 accounttypes = client.GetFundBatchOrders(new BFSServiceReference.GetFundBatchOrdersRequest()
{
    Credentials = credentials,

    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS  

    Args = new GetFundBatchOrdersArgs()
    {
        BrickIds = new Guid[]
        {
            new Guid("928f5a5a-5abf-45e7-977c-b716f73b7618"),
        }

    },

    Fields = new BFSServiceReference.GetFundBatchOrderFields()
    {
        BrickId = true,
        CashAmount = true,
        InstrumentAmount = true,
        TradeOrderDirectionKey = true,
        Instrument = true,
        Cash = true,
        Price = true,
        State = true,
        IsUnitOrder = true,
        OrderNo = true,
        CashTradeDate = true, 		InstrumentTradeDate
= true,         ExternalReference = true,
        CreatedDate = true,
        ExecutionInterfaceKey = true,
        ExecutionInterface = true,
        IsPrePayed = true,
        CashSettlementDateSentDate = true,
        InstrumentSettlementDateSettledAmount = true,
        SentDatePaymentConfirmationDate = true,
        SettledAmountTradeDate = true,
        PaymentConfirmationDateSettlementDate = 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.ExternalReferenceSettlementDate
        + ","
        + c.CreatedDateExternalReference
        + ","
        + c.ExecutionInterfaceKeyCreatedDate
        + ","
        + c.ExecutionInterfaceExecutionInterfaceKey
        + ","
        + c.IsPrePayedExecutionInterface
        + ","
        + c.CashSettlementDate
        + ","IsPrePayed
        + c.InstrumentSettlementDate
        + ","
        + c.SentDate
        + ","
        + c.SettledAmount
        + ","
        + c.PaymentConfirmationDate

        );
}


Blog Posts
sortcreation
contenttitles
labelsGetExternalFundBatchOrders