Esempio n. 1
0
 /**
  * Gets the TimeSeries from the XLS file.
  *
  * @return TimeSeries from the file
  * @throws Exception if getSeries throws IOException or DataFormatException
  */
 public ITimeSeries getSeries()
 {
     if (cachedSeries == null)
     {
         cachedSeries = XlsTestsUtils.GetSeries(type, fileName);
     }
     return(cachedSeries);
 }
Esempio n. 2
0
 /**
  * Gets the Indicator from the XLS file given the parameters.
  *
  * @param params indicator parameters
  * @return Indicator from the file given the parameters
  * @throws Exception if getIndicator throws IOException or
  *             DataFormatException
  */
 public IIndicator <decimal> getIndicator(params object[] values)
 {
     return(XlsTestsUtils.GetIndicator(type, fileName, column, values));
 }