UpdateInstruments

Inputs (Array of UpdateInstrument)

Name

Type

Description

Mandatory

Available from version

Name

Type

Description

Mandatory

Available from version

BrickIds

Guid[]

 This is the unique id of the instrument that should be updated

 Yes

 2.15

Symbol

string

 Instrument symbol

 

 

PriceDate

DateTime

Instrument Pricedate 

 

 

DataSeries

string

Instrument DataSeries 

 

 

DisplayPercentagePrice

bool

If price should be displayed in percentage

 

 

DisplayMultiplier

double

Multiplier used for display of price

 

 

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.

 

 

DebtInstrument

bool

If instrument is of type DebtInstrument

 

 

InstrumentType

int

Instrument type (described in page Instrument )

 

 

CurrencyCode

string

The currency of the instrument. Available currencies can be found in BFS admin by navigating to System Data -> Currencies

 

 

ISIN

string

Instrument ISIN code

 

 

Name

string

Instrument Name

 

 

LastSubscriptionDate

DateTime

Instrument Last subscription date

 

 

ExpirationDate

DateTime

Instrument expiration date

 

 

Price

double

Instrument price

 

 

QuantityDecimals

int

Instrument quantity decimals

 

 

DisplayDecimalsPrice

int

Number of decimals to display for price

 

 

ValueMultiplier

double

Instrument value multiplier

 

 

InstrumentStatus

int

Instrument status (described in page Instrument Status and with the matching status codes here Instrument)

 

 

IsUnitOrder

bool

If instrument is unit order

 

 

InstrumentCategorization

string

Instrument Categorization (described in page Instrument Categorization)

 

 

TaxCountry

string

Country code according to ISO 3166-1

 

 

VisibleStatusKey

string

Instrument status key (described in page Instrument Status and with the matching status codes here Instrument)

 

 

ExternalReference

string

Instrument external reference

 

 

Comment

string

Instrument comment

 

 

DefaultMarketPlace

Guid

Default marketplace for instrument

 

 

SettlementCalendar

string

Instrument settlement calendar

 

 

Issuer

Guid

Instrument issuer

 

 

WhiteLabel

Guid

Id of WhiteLabel that instrument belong to

 

 

HasMifidIIData

Bool

True if instrument has Mifid-data in external app

 

2.17

KnowledgeGroup

String

Knowledgegroup of instrument

 

2.17

ExPostCalcMethod

String

Method for ExPost Calculation

Within Bricknode Broker this can be set in the GUI

A value of "1" is read as Market Value and a value of "2" is read as Nominal Amount.

 

2.17

ManagementFeePercentage

decimal

Field to save ManagementFeePercentage on instrument

 

2.19

FundEntity

Guid

The BrickId of a FundEntity that is associated with the instrument

 

2.20

FundCompany

Guid

The BrickId of a FundCompany that is associated with the instrument

 

2.20

FeeGroup

String

The key of the FeeGroup that is associated with the instrument

 

2.23

DatasheetURL

String

Link to KID document for instrument

 

2.24

EnableMifidIITenPercentAlert

Bool

If instrument is of a type that requires warnings for the customers if the value of the instrument drops with 10%

 

2.24

ExecutionInterfaces

UpdateExecutionInterface[]

Array of UpdateExecutionInterface

UpdateExectuonInterface has a field called UpdateFields and there it is possible to define which fields should be updated on the actual ExecutionInterface.

 

2.26

DefaultExecutionInterface

string

The default execution interface of the instrument. The one you enter ("Manual", for example) must also be contained in the embedded ExecutionInterfaces on the instrument, else the system will not accept it.

 

2.30

Outputs

Name

Type

Description

Available from version

Name

Type

Description

Available from version

Entities

Array

All UpdateInstrument
entities of the request



Code examples

C# - Update an instrument
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 public static void UpdateInstrument() { var binding = new BasicHttpBinding(); binding.MaxReceivedMessageSize = Int32.MaxValue; var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx")); var req = new bfsapi.UpdateInstrumentsRequest(); req.Credentials = new bfsapi.Credentials { UserName = "username", Password = "password" }; req.identify = "identifier"; req.Entities=new UpdateInstrument[] { new UpdateInstrument { BrickId = new Guid("b115c60b-810f-458a-8adc-f0ca2ce2897c"), DebtInstrument = true, CustomFields = new bfsapi.CustomField[] { new bfsapi.CustomField { FieldName = "TestField", Value = "CustomFieldValue" } }, Price = 10.5, Comment = "TestComment" }, }; req.Fields=new UpdateInstrumentFields { DebtInstrument = true, CustomFields = true, Price = true, Comment = true }; var resp = target.UpdateInstruments(req); }