static async Task TryGetRawData(FinnhubClient client)
        {
            Console.WriteLine();
            Console.WriteLine("Raw Data");

            var rawData = await client.GetRawDataAsync("stock/profile", new Field(FieldKeys.Symbol, "AAPL"));

            Console.WriteLine($"Success: Raw data has {rawData.Length} characters.");
        }
 public async Task <CompanyProfile> GetCompanyProfileBySymbol(string symbol)
 {
     return(await _deserializer.DeserializeAsync <CompanyProfile>(await _client.GetRawDataAsync("stock/profile2", new Field(FieldKeys.Symbol, symbol))));
 }