private static async Task TestCompany(IIEXCloudClient client) { var companyAapl = await client.GetCompany(Symbol); //Console.WriteLine($"{Symbol} last dividend: "+companyAapl.Dividends.OrderBy(x=>x.PaymentDate).Last().Amount); Console.WriteLine($"{Symbol} website: " + companyAapl.Website); //Console.WriteLine($"{Symbol} CurrentLongTermDebt: "+companyAapl.BalanceSheets.OrderBy(x=>x.ReportDate).Last().CurrentLongTermDebt); }
public async Task TestGetCompany() { var result = await client.GetCompany(Symbol); Assert.That(result.CompanyName, Is.Not.Null); }