Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Inputs (Array of UpdateInstrument)

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[] This is the unique id of the instrument that should be updated Yes 2.15
Symbolstring Instrument symbol

PriceDateDateTimeInstrument Pricedate 

DataSeriesstringInstrument DataSeries 

DisplayPercentagePriceboolIf price should be displayed in percentage

DisplayMultiplierdoubleMultiplier used for display of price

CustomFieldsobject[]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.

DebtInstrumentboolIf instrument is of type DebtInstrument

InstrumentTypeintInstrument type (described in page Instrument )

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

ISINstringInstrument ISIN code

NamestringInstrument Name

LastSubscriptionDateDateTimeInstrument Last subscription date

ExpirationDateDateTimeInstrument expiration date

PricedoubleInstrument price

QuantityDecimalsintInstrument quantity decimals

DisplayDecimalsPriceintNumber of decimals to display for price

ValueMultiplierdoubleInstrument value multiplier

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

IsUnitOrderboolIf instrument is unit order

InstrumentCategorizationstringInstrument Categorization (described in page Instrument Categorization)

TaxCountrystringCountry code according to ISO 3166-1

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

ExternalReferencestringInstrument external reference

CommentstringInstrument comment

DefaultMarketPlaceGuidDefault marketplace for instrument

SettlementCalendarstringInstrument settlement calendar

IssuerGuidInstrument issuer

WhiteLabelGuidId of WhiteLabel that instrument belong to

HasMifidIIDataBoolTrue if instrument has Mifid-data in external app
2.17
KnowledgeGroupStringKnowledgegroup of instrument
2.17
ExPostCalcMethodString

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
ManagementFeePercentagedecimalField to save ManagementFeePercentage on instrument
2.19
FundEntityGuidThe BrickId of a FundEntity that is associated with the instrument
2.20
FundCompanyGuidThe BrickId of a FundCompany that is associated with the instrument
2.20
FeeGroupStringThe key of the FeeGroup that is associated with the instrument
2.23
DatasheetURLStringLink to KID document for instrument
2.24
EnableMifidIITenPercentAlertBoolIf instrument is of a type that requires warnings for the customers if the value of the instrument drops with 10%
2.24
ExecutionInterfacesUpdateExecutionInterface[]

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

Outputs

NameTypeDescriptionAvailable from version
EntitiesArrayAll UpdateInstrument
entities of the request

Code examples

C# - Update an instrument
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);
        }



  • No labels