raptorbt
Copyright (c) Alphabench

This product's test suite checks its indicator and statistics functions against reference
implementations. The committed fixtures hold numbers those libraries produced, and numbers
from the independent references in tests/oracle/stats_reference.py, written from the
published definitions; no source code of the libraries is included or linked into raptorbt.

- TA-Lib (https://ta-lib.org), BSD 3-Clause. Reference output for the technical-analysis
  functions in tests/python/oracle/fixtures/talib_*.json.gz, produced with TA-Lib 0.6.4.
- statsmodels (https://www.statsmodels.org), BSD 3-Clause, and SciPy (https://scipy.org),
  BSD 3-Clause. Reference output for the statistical tests and regressions.
- arch (https://github.com/bashtage/arch), University of Illinois/NCSA Open Source
  License. Reference output for volatility models.
- TA-Lib (https://ta-lib.org), BSD 3-Clause. The Hilbert transform functions (ht_dcperiod,
  ht_dcphase, ht_phasor, ht_sine, ht_trendmode, ht_trendline) and mama in
  src/quant/fns/hilbert.rs port TA-Lib's algorithm (itself after John Ehlers' work),
  re-expressed as one-step kernels; no TA-Lib source text is included.
- statsmodels (https://www.statsmodels.org), BSD 3-Clause. The critical-value and p-value
  tables in src/stats/tables.rs (MacKinnon 1994 and 2010 response surfaces, Johansen trace and
  maximum-eigenvalue values, KPSS critical values) are numbers read from statsmodels 0.15.0
  (tsa/adfvalues.py, tsa/coint_tables.py, tsa/stattools) by scripts/gen_stat_tables.py. The
  numbers are J. G. MacKinnon's (Journal of Business & Economic Statistics 12, 1994; Queen's
  Economics Department Working Paper 1227, 2010) and MacKinnon, Haug and Michelis (Journal of
  Applied Econometrics 14, 1999); the Johansen tables entered statsmodels from the Matlab
  code of J. P. LeSage's Econometrics Toolbox. Copyright
  (c) 2009-2018 statsmodels Developers; (c) 2006 Jonathan E. Taylor; (c) 2006-2008 Scipy
  Developers. Redistribution of these data follows the BSD 3-Clause conditions: the notice
  above, no use of the contributors' names to endorse this product.
- statsmodels (https://www.statsmodels.org), BSD 3-Clause. The statistics in src/stats follow
  the behaviour of the statsmodels functions they replace: adfuller and kpss (stationarity.rs),
  coint and coint_johansen (coint.rs), and MarkovRegression with switching variance (hmm.rs),
  including their lag selection, eigenvector normalisation and initialisation conventions.
  The code is written from the published methods; no statsmodels source text is included.
  Where a result differs from statsmodels the difference is stated in the module's
  documentation.
- arch (https://github.com/bashtage/arch), University of Illinois/NCSA Open Source License.
  The GARCH fit in src/stats/garch.rs follows the behaviour of the arch package (backcast,
  start-value grid, rescaling rule, analytic forecast); it was read for its behaviour and none
  of its code is included. The optimiser is different (BFGS).
- The KPSS critical values in src/stats/tables.rs are those of D. Kwiatkowski, P. C. B.
  Phillips, P. Schmidt and Y. Shin (Journal of Econometrics 54, 1992), read from statsmodels as
  described above. The Markov-switching smoother follows C.-J. Kim (Journal of Econometrics 60,
  1994), and the KPSS automatic bandwidth follows Hobijn, Franses and Ooms
  (1998).
