Table of Contents

Interface IConnectorExchangeInfoProvider

Namespace
ATAS.DataFeedsCore
Assembly
ATAS.DataFeedsCore.dll

Defines methods to retrieve exchange information based on security or exchange codes.

Added in ATAS 8.0.15.

public interface IConnectorExchangeInfoProvider
Extension Methods

Remarks

Implementations of this interface provide lookup functionality for mapping security codes to exchange codes and retrieving exchange details. This is typically used in scenarios where securities are associated with specific exchanges, and such associations need to be resolved programmatically.

Methods

TryGetExchangeCode(string, out string?)

Attempts to retrieve the exchange code associated with the specified security code.

bool TryGetExchangeCode(string securityCode, out string? exchangeCode)

Parameters

securityCode string

The security code for which to look up the corresponding exchange code. Cannot be null or empty.

exchangeCode string

When this method returns, contains the exchange code associated with the specified security code, if found; otherwise, null.

Returns

bool

true if the exchange code was found for the specified security code; otherwise, false.