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

false2.26

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# - Get all account types from a BFS instanceCreate 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);

...