Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Inputs (Array of CreateTradingVenue) inherits from EntityBase

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuid Not used.

NamestringThe name of the trading venue  true2.26 
ShortNamestring The short name of the trading venue   true 2.26
 MICstring The MIC code of the Trading Venue  true 2.26
 IsTradingVenuebool If the trading venue object represents an actual trading venue  true 2.26
IsMarketboolIf the trading venue is a market or not true2.26
IsInternalboolIf the trading venue is internal or not true2.26
TRSCountrystring?

The country code of the TRS country according to ISO-standard here: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Only country codes where the country is located within the European Economic Area should be entered, if the country for the Trading Venue is outside this area the value XX should be entered. 

The countries used here is present in the System Data→MiFID II Management in Bricknode Broker.

false2.26
CountrystringThe country code of the TRS country according to ISO-standard here: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2false2.27

Output

NameTypeDescriptionAvailable from version
EntitiesArrayAll trading venues in the request is returned along with each trading venues BrickId and array of Errors per trading venue object 2.26

Code examples

Code Block
languagec#
themeRDark
titleC# - Create new OTC trading venue in BFS
linenumberstrue
collapsetrue
		var request = new CreateTradingVenuesRequest();
        request.Entities = new CreateTradingVenue[]
        {
            new CreateTradingVenue()
            {
                Name = "OTC,
                ShortName = "OTC",
                MIC = "XOFF",
                IsInternal = false,
                IsMarket = true,
                IsTradingVenue = true,
                TRSCountry = "SE"
            }
        };

        client.CreateTradingVenues(request);

...