public async Task <GlobalQuoteResult> GetGlobalQuote(string function, string symbol) { return(await GetAsync <GlobalQuoteResult>(AlphaVantageQueryStringService.AppendQueryString(string.Empty, new Dictionary <string, object> { { "function", function }, { "symbol", symbol } }))); }
public async Task <BestMatches> SearchSymbolAsync(string function, string keywords) { if (keywords.ToLower().Contains("BVMF3")) { keywords = "B3SA3.SA"; } return(await GetAsync <BestMatches>(AlphaVantageQueryStringService.AppendQueryString(string.Empty, new Dictionary <string, object> { { "function", function }, { "keywords", keywords } }))); }