UpdateInstruments
Inputs (Array of UpdateInstrument)
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 | 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 |
ExcludeFromFeeRelatedSelling | Bool | Says whether an instrument should be considered for selling to free up funds for fees (if this has been specifically set up) | Â | 2.38 |
FundClass | string | The FundClass of the instrument | Â | Ongoing development |
Outputs
Name | Type | Description | Available from version |
---|---|---|---|
Entities | Array | All UpdateInstrument |
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);
}
Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved