public void Is_Required_Prices_Count_Valid_For_Generating_Signals(IndicatorType type) { IIndicator indicator = _indicatorFactory.CreateIndicator(type); var examplePrices = ExampleData.Take(indicator.RequiredPricesForSignalCount).ToList(); try { var signals = indicator.GenerateSignals(examplePrices); } catch (Exception ex) { Assert.True(false, $"Exception occured {ex}"); } }