Interface IFinancialDataClient
- Namespace
- Tudormobile.FinancialData
- Assembly
- Tudormobile.FinancialData.dll
Provides methods for retrieving basic company information from the FinancialData API.
public interface IFinancialDataClient
Methods
Create(string, HttpClient, IFinancialDataSerializer?)
Creates a new instance of an object that implements the IFinancialDataClient interface using the specified API key, HTTP client, and optional serializer.
public static IFinancialDataClient Create(string apiKey, HttpClient httpClient, IFinancialDataSerializer? serializer = null)
Parameters
apiKeystringThe API key used to authenticate requests to the financial data service. This parameter cannot be null or empty.
httpClientHttpClientThe HttpClient instance used to send HTTP requests to the financial data service. It is recommended to reuse the same instance for multiple requests.
serializerIFinancialDataSerializerAn optional serializer used for serializing and deserializing financial data. If not specified, a default serializer is used.
Returns
- IFinancialDataClient
An instance of IFinancialDataClient that can be used to interact with the financial data service.
Remarks
Ensure that the provided HttpClient is properly configured for the intended use, including any necessary headers or settings.
GetApiResultAsync<T>(string, CancellationToken)
Task<FinancialDataResponse<T>> GetApiResultAsync<T>(string uriString, CancellationToken cancellationToken)
Parameters
uriStringstringcancellationTokenCancellationToken
Returns
Type Parameters
T
GetBalanceSheetStatementsAsync(string, Period, int, CancellationToken)
Balance Sheet Statements Endpoint: Asynchronously retrieves the balance sheet statements for the specified entity identifier.
Task<FinancialDataResponse<List<BalanceSheet>>> GetBalanceSheetStatementsAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringThe unique identifier of the entity whose balance sheet statements are to be retrieved. This parameter cannot be null or empty.
periodPeriod(Optional) The accounting period for which the entity's financial statements are prepared. By default, statements are returned for all accounting periods.
offsetint(Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0.
cancellationTokenCancellationTokenA cancellation token that can be used to cancel the asynchronous operation. The default value is None.
Returns
- Task<FinancialDataResponse<List<BalanceSheet>>>
A task that represents the asynchronous operation. The task result contains the balance sheets associated with the specified identifier.
Remarks
An ArgumentException is thrown if identifier is null or
empty. The operation may be canceled by passing a cancellation token.
GetCashFlowStatementsAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<CashFlow>>> GetCashFlowStatementsAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetCommodityPricesAsync(string, int, CancellationToken)
Asynchronously retrieves price data for a specified commodity.
Task<FinancialDataResponse<List<CommodityPrice>>> GetCommodityPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringThe unique identifier of the commodity for which to retrieve stock prices. This value cannot be null or empty.
offsetintThe number of records to skip before starting to return results. Must be a non-negative integer. Useful for paginating large result sets.
cancellationTokenCancellationTokenA token that can be used to request cancellation of the asynchronous operation.
Returns
- Task<FinancialDataResponse<List<CommodityPrice>>>
A task that represents the asynchronous operation. The task result contains a response with the prices for the specified commodity.
GetCommoditySymbolsAsync(int, CancellationToken)
Retrieves a list of commodity symbols.
Task<FinancialDataResponse<List<Symbol>>> GetCommoditySymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintThe offset for pagination. Defaults to 0.
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<FinancialDataResponse<List<Symbol>>>
A FinancialDataResponse<T> containing a list of commodity symbols.
Remarks
GetCompanyInformationAsync(string, CancellationToken)
Task<FinancialDataResponse<List<CompanyInformation>>> GetCompanyInformationAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetCryptoInformationAsync(string, CancellationToken)
Task<FinancialDataResponse<List<CryptoInformation>>> GetCryptoInformationAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetCryptoMinutePricesAsync(string, DateOnly, int, CancellationToken)
Task<FinancialDataResponse<List<CryptoMinutePrice>>> GetCryptoMinutePricesAsync(string identifier, DateOnly date, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringdateDateOnlyoffsetintcancellationTokenCancellationToken
Returns
GetCryptoPricesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<CryptoPrice>>> GetCryptoPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetCryptoQuotesAsync(IEnumerable<string>, CancellationToken)
Task<FinancialDataResponse<List<CryptoQuote>>> GetCryptoQuotesAsync(IEnumerable<string> identifiers, CancellationToken cancellationToken = default)
Parameters
identifiersIEnumerable<string>cancellationTokenCancellationToken
Returns
GetCryptoSymbolsAsync(int, CancellationToken)
Task<FinancialDataResponse<List<CryptoSymbol>>> GetCryptoSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetDividendsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<Dividend>>> GetDividendsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetDividendsCalendarAsync(DateOnly?, int, CancellationToken)
Task<FinancialDataResponse<List<DividendsCalendar>>> GetDividendsCalendarAsync(DateOnly? date = null, int offset = 0, CancellationToken cancellationToken = default)
Parameters
dateDateOnly?offsetintcancellationTokenCancellationToken
Returns
GetEarningsCalendarAsync(DateOnly?, int, CancellationToken)
Task<FinancialDataResponse<List<EarningsCalendar>>> GetEarningsCalendarAsync(DateOnly? date = null, int offset = 0, CancellationToken cancellationToken = default)
Parameters
dateDateOnly?offsetintcancellationTokenCancellationToken
Returns
GetEarningsReleasesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<EarningsRelease>>> GetEarningsReleasesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetEconomicCalendarAsync(string?, int, CancellationToken)
Task<FinancialDataResponse<List<EconomicCalendar>>> GetEconomicCalendarAsync(string? country = null, int offset = 0, CancellationToken cancellationToken = default)
Parameters
countrystringoffsetintcancellationTokenCancellationToken
Returns
GetEfficiencyRatiosAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<EfficiencyRatios>>> GetEfficiencyRatiosAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetEmployeeCountAsync(string, CancellationToken)
Task<FinancialDataResponse<List<EmployeeCount>>> GetEmployeeCountAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetEsgRatingsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<EsgRating>>> GetEsgRatingsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetEsgScoresAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<EsgScore>>> GetEsgScoresAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetEtfHoldingsAsync(int, CancellationToken)
Task<FinancialDataResponse<List<EtfHoldings>>> GetEtfHoldingsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetEtfPricesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<EtfPrices>>> GetEtfPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetEtfQuotesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<EtfQuotes>>> GetEtfQuotesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetEtfSymbolsAsync(int, CancellationToken)
Retrieves a list of ETF symbols.
Task<FinancialDataResponse<List<Symbol>>> GetEtfSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintThe offset for pagination. Defaults to 0.
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<FinancialDataResponse<List<Symbol>>>
A FinancialDataResponse<T> containing a list of ETF symbols.
Remarks
GetExecutiveCompensationAsync(string, CancellationToken)
Task<FinancialDataResponse<List<ExecutiveCompensation>>> GetExecutiveCompensationAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetFedPressReleasesAsync(int, CancellationToken)
Task<FinancialDataResponse<List<FedPressRelease>>> GetFedPressReleasesAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetForexMinutePricesAsync(string, DateOnly, int, CancellationToken)
Task<FinancialDataResponse<List<ForexMinutePrice>>> GetForexMinutePricesAsync(string identifier, DateOnly date, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringdateDateOnlyoffsetintcancellationTokenCancellationToken
Returns
GetForexPricesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<ForexPrice>>> GetForexPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetForexQuotesAsync(IEnumerable<string>, CancellationToken)
Task<FinancialDataResponse<List<ForexQuote>>> GetForexQuotesAsync(IEnumerable<string> identifiers, CancellationToken cancellationToken = default)
Parameters
identifiersIEnumerable<string>cancellationTokenCancellationToken
Returns
GetForexSymbolsAsync(int, CancellationToken)
Task<FinancialDataResponse<List<ForexSymbol>>> GetForexSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetFuturesPricesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<FuturesPrice>>> GetFuturesPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetFuturesSymbolsAsync(int, CancellationToken)
Task<FinancialDataResponse<List<FuturesSymbol>>> GetFuturesSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetHouseTradingAsync(string?, int, CancellationToken)
Task<FinancialDataResponse<List<HouseTrading>>> GetHouseTradingAsync(string? identifier = null, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetIncomeStatementsAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<Income>>> GetIncomeStatementsAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetIndexConstituentsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<IndexConstituent>>> GetIndexConstituentsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetIndexPricesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<IndexPrice>>> GetIndexPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetIndexQuotesAsync(IEnumerable<string>, CancellationToken)
Task<FinancialDataResponse<List<IndexQuote>>> GetIndexQuotesAsync(IEnumerable<string> identifiers, CancellationToken cancellationToken = default)
Parameters
identifiersIEnumerable<string>cancellationTokenCancellationToken
Returns
GetIndexSymbolsAsync(CancellationToken)
Task<FinancialDataResponse<List<IndexSymbol>>> GetIndexSymbolsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
GetIndustryEsgScoresAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<IndustryEsgScore>>> GetIndustryEsgScoresAsync(string industry, int offset = 0, CancellationToken cancellationToken = default)
Parameters
industrystringoffsetintcancellationTokenCancellationToken
Returns
GetInitialPublicOfferingsAsync(int, CancellationToken)
Task<FinancialDataResponse<List<InitialPublicOffering>>> GetInitialPublicOfferingsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetInsiderTransactionsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<InsiderTransaction>>> GetInsiderTransactionsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetInstitutionalHoldingsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<InstitutionalHolding>>> GetInstitutionalHoldingsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetInstitutionalInvestorsAsync(int, CancellationToken)
Task<FinancialDataResponse<List<InstitutionalInvestor>>> GetInstitutionalInvestorsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetInstitutionalPortfolioStatisticsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<InstitutionalPortfolioStatistics>>> GetInstitutionalPortfolioStatisticsAsync(string investorCik, int offset = 0, CancellationToken cancellationToken = default)
Parameters
investorCikstringoffsetintcancellationTokenCancellationToken
Returns
GetInternationalBalanceSheetStatementsAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<InternationalBalanceSheet>>> GetInternationalBalanceSheetStatementsAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetInternationalCashFlowStatementsAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<InternationalCashFlow>>> GetInternationalCashFlowStatementsAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetInternationalCompanyInformationAsync(string, CancellationToken)
Task<FinancialDataResponse<List<InternationalCompanyInformation>>> GetInternationalCompanyInformationAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetInternationalIncomeStatementsAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<InternationalIncome>>> GetInternationalIncomeStatementsAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetInternationalStockPricesAsync(string, CancellationToken)
Task<FinancialDataResponse<List<StockQuote>>> GetInternationalStockPricesAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetInternationalStockSymbolsAsync(int, CancellationToken)
Retrieves a list of international stock symbols.
Task<FinancialDataResponse<List<Symbol>>> GetInternationalStockSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintThe offset for pagination. Defaults to 0.
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<FinancialDataResponse<List<Symbol>>>
A FinancialDataResponse<T> containing a list of international stock symbols.
Remarks
GetInvestmentAdviserInformationAsync(string, CancellationToken)
Task<FinancialDataResponse<List<InvestmentAdviserInformation>>> GetInvestmentAdviserInformationAsync(string crdNumber, CancellationToken cancellationToken = default)
Parameters
crdNumberstringcancellationTokenCancellationToken
Returns
GetInvestmentAdviserNamesAsync(int, CancellationToken)
Task<FinancialDataResponse<List<InvestmentAdviserName>>> GetInvestmentAdviserNamesAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetIpoCalendarAsync(DateOnly?, int, CancellationToken)
Task<FinancialDataResponse<List<IpoCalendar>>> GetIpoCalendarAsync(DateOnly? date = null, int offset = 0, CancellationToken cancellationToken = default)
Parameters
dateDateOnly?offsetintcancellationTokenCancellationToken
Returns
GetKeyMetricsAsync(string, CancellationToken)
Task<FinancialDataResponse<List<KeyMetrics>>> GetKeyMetricsAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetLatestPricesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<StockPrice>>> GetLatestPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetLiquidityRatiosAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<LiquidityRatios>>> GetLiquidityRatiosAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetMarketCapAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<MarketCap>>> GetMarketCapAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetMinutePricesAsync(string, DateTimeOffset, int, CancellationToken)
Task<FinancialDataResponse<List<StockPrice>>> GetMinutePricesAsync(string identifier, DateTimeOffset date, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringdateDateTimeOffsetoffsetintcancellationTokenCancellationToken
Returns
GetMutualFundHoldingsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<MutualFundHoldings>>> GetMutualFundHoldingsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetMutualFundStatisticsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<MutualFundStatistics>>> GetMutualFundStatisticsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetMutualFundSymbolsAsync(int, CancellationToken)
Task<FinancialDataResponse<List<MutualFundSymbol>>> GetMutualFundSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetOptionChainAsync(string, DateOnly?, CancellationToken)
Task<FinancialDataResponse<List<OptionChain>>> GetOptionChainAsync(string identifier, DateOnly? expirationDate = null, CancellationToken cancellationToken = default)
Parameters
identifierstringexpirationDateDateOnly?cancellationTokenCancellationToken
Returns
GetOptionGreeksAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<OptionGreeks>>> GetOptionGreeksAsync(string contractName, int offset = 0, CancellationToken cancellationToken = default)
Parameters
contractNamestringoffsetintcancellationTokenCancellationToken
Returns
GetOptionPricesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<OptionPrice>>> GetOptionPricesAsync(string contractName, int offset = 0, CancellationToken cancellationToken = default)
Parameters
contractNamestringoffsetintcancellationTokenCancellationToken
Returns
GetOtcPricesAsync(string, int, CancellationToken)
Asynchronously retrieves over-the-counter (OTC) price data for the specified financial instrument.
Task<FinancialDataResponse<List<OtcPrice>>> GetOtcPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringThe unique identifier of the financial instrument for which to retrieve OTC prices. This value cannot be null or empty.
offsetintThe number of records to skip before starting to return results. Must be greater than or equal to 0. Defaults to 0.
cancellationTokenCancellationTokenA cancellation token that can be used to cancel the asynchronous operation.
Returns
- Task<FinancialDataResponse<List<OtcPrice>>>
A task that represents the asynchronous operation. The task result contains a response with the OTC prices for the specified instrument.
GetOtcSymbolsAsync(int, CancellationToken)
Retrieves a list of OTC symbols.
Task<FinancialDataResponse<List<Symbol>>> GetOtcSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintThe offset for pagination. Defaults to 0.
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<FinancialDataResponse<List<Symbol>>>
A FinancialDataResponse<T> containing a list of OTC symbols.
Remarks
GetOtcVolumesAsync(string, CancellationToken)
Asynchronously retrieves over-the-counter (OTC) volume data for the specified identifier.
Task<FinancialDataResponse<List<OtcVolume>>> GetOtcVolumesAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringThe unique identifier for which to retrieve OTC volume data. This parameter cannot be null or empty.
cancellationTokenCancellationTokenA cancellation token that can be used to cancel the asynchronous operation. The default value is None.
Returns
- Task<FinancialDataResponse<List<OtcVolume>>>
A task that represents the asynchronous operation. The task result contains a FinancialDataResponse<T> with the OTC volume data for the specified identifier.
GetPressReleasesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<PressRelease>>> GetPressReleasesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetProfitabilityRatiosAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<ProfitabilityRatios>>> GetProfitabilityRatiosAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetProposedSalesAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<ProposedSale>>> GetProposedSalesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetSecPressReleasesAsync(int, CancellationToken)
Task<FinancialDataResponse<List<SecPressRelease>>> GetSecPressReleasesAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintcancellationTokenCancellationToken
Returns
GetSecuritiesInformationAsync(string, CancellationToken)
Task<FinancialDataResponse<List<SecuritiesInformation>>> GetSecuritiesInformationAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetSenateTradingAsync(string?, int, CancellationToken)
Task<FinancialDataResponse<List<SenateTrading>>> GetSenateTradingAsync(string? identifier = null, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetShortInterestAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<ShortInterest>>> GetShortInterestAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetSolvencyRatiosAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<SolvencyRatios>>> GetSolvencyRatiosAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken
Returns
GetSplitsCalendarAsync(DateOnly?, int, CancellationToken)
Task<FinancialDataResponse<List<SplitsCalendar>>> GetSplitsCalendarAsync(DateOnly? date = null, int offset = 0, CancellationToken cancellationToken = default)
Parameters
dateDateOnly?offsetintcancellationTokenCancellationToken
Returns
GetStockPricesAsync(string, int, CancellationToken)
Stock Prices Endpoint: Asynchronously retrieves historical stock price data for a specified stock identifier (e.g., ticker symbol) over a given time period. The response includes details such as opening price, closing price, high, low, and trading volume for each day within the specified range.
Task<FinancialDataResponse<List<StockPrice>>> GetStockPricesAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringThe stock identifier (e.g., ticker symbol) for which to retrieve historical price data.
offsetint(Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0.
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<FinancialDataResponse<List<StockPrice>>>
A task that represents the asynchronous operation. The task result contains a collection of historical stock prices.
GetStockQuotesAsync(IEnumerable<string>, CancellationToken)
Task<FinancialDataResponse<List<StockQuote>>> GetStockQuotesAsync(IEnumerable<string> identifiers, CancellationToken cancellationToken = default)
Parameters
identifiersIEnumerable<string>cancellationTokenCancellationToken
Returns
GetStockSplitsAsync(string, int, CancellationToken)
Task<FinancialDataResponse<List<StockSplit>>> GetStockSplitsAsync(string identifier, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringoffsetintcancellationTokenCancellationToken
Returns
GetStockSymbolsAsync(int, CancellationToken)
Retrieves a list of stock symbols.
Task<FinancialDataResponse<List<Symbol>>> GetStockSymbolsAsync(int offset = 0, CancellationToken cancellationToken = default)
Parameters
offsetintThe offset for pagination. Defaults to 0.
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- Task<FinancialDataResponse<List<Symbol>>>
A FinancialDataResponse<T> containing a list of stock symbols.
Remarks
GetValuationRatiosAsync(string, Period, int, CancellationToken)
Task<FinancialDataResponse<List<ValuationRatios>>> GetValuationRatiosAsync(string identifier, Period period = Period.All, int offset = 0, CancellationToken cancellationToken = default)
Parameters
identifierstringperiodPeriodoffsetintcancellationTokenCancellationToken