Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public async Task TestGetCompany()
        {
            var result = await client.GetCompany(Symbol);

            Assert.That(result.CompanyName, Is.Not.Null);
        }