Loading...
Searching...
No Matches
ATAS.DataFeedsCore.IConnectorExchangeInfoProvider Interface Reference

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

Public Member Functions

bool TryGetExchangeCode (string securityCode, out string? exchangeCode)
 Attempts to retrieve the exchange code associated with the specified security code.
 

Detailed Description

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

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.

Member Function Documentation

◆ TryGetExchangeCode()

bool ATAS.DataFeedsCore.IConnectorExchangeInfoProvider.TryGetExchangeCode ( string  securityCode,
out string?  exchangeCode 
)

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

Parameters
securityCodeThe security code for which to look up the corresponding exchange code. Cannot be null or empty.
exchangeCodeWhen this method returns, contains the exchange code associated with the specified security code, if found; otherwise, null.
Returns
true if the exchange code was found for the specified security code; otherwise, false.

The documentation for this interface was generated from the following file: