public void earnings_with_symbols_list_returns_result()
        {
            EODHistoricalDataClient client = new EODHistoricalDataClient(Consts.ApiToken, true);
            Earnings earnings = client.GetEarnings(null, null, Consts.MultipleSymbolEarnings);

            Assert.IsNotNull(earnings);
            Assert.IsTrue(earnings.EarningsData.Count > 0);
        }
        public void earnings_no_parameters_returns_prices()
        {
            EODHistoricalDataClient client = new EODHistoricalDataClient(Consts.ApiToken, true);
            Earnings earnings = client.GetEarnings();

            Assert.IsNotNull(earnings);
            Assert.IsTrue(earnings.EarningsData.Count > 0);
        }
        public void earnings_with_from_and_to_date_returns_result()
        {
            EODHistoricalDataClient client = new EODHistoricalDataClient(Consts.ApiToken, true);
            Earnings earnings = client.GetEarnings(Consts.OptionsStartDate, Consts.OptionsEndDate);

            Assert.IsNotNull(earnings);
            Assert.IsTrue(earnings.EarningsData.Count > 0);
        }
        public void earnings_with_to_date_returns_result()
        {
            using var client = new EODHistoricalDataClient(Consts.ApiToken, true);
            var earnings = client.GetEarnings(null, Consts.OptionsFuture3MonthEndDate);

            Assert.IsNotNull(earnings);
            Assert.IsTrue(earnings.EarningsData.Count > 0);
        }