Skip to content

Commit

Permalink
Merge branch 'develop' into ml_based_pairs_selection
Browse files Browse the repository at this point in the history
  • Loading branch information
PanPip committed Nov 26, 2020
2 parents d743cd6 + 17c1f23 commit 8a98d2e
Show file tree
Hide file tree
Showing 38 changed files with 91 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.1
current_version = 0.1.0
commit = True
tag = True
tag_name = {new_version}
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- run:
name: Run Pylint Check
command: |
pylint arbitragelab --rcfile=.pylintrc -f text
pylint arbitragelab tests --rcfile=.pylintrc -f text
- run:
name: Run Unit Tests
command: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ The best place to contact the team is via the ArbitrageLab Slack channel. Altern
Looking forward to hearing from you!

## License
This project is licensed under an all rights reserved licence.
This project is licensed under an all rights reserved [licence](https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html).
4 changes: 4 additions & 0 deletions arbitragelab/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
ArbitrageLab helps portfolio managers and traders who want to leverage the power of Statistical Arbitrage by providing
reproducible, interpretable, and easy to use tools.
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/codependence/codependence_matrix.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
This implementation lets user generate dependence and distance matrix based on the various methods of Information
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/codependence/correlation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Correlation based distances and various modifications (angular, absolute, squared) described in Cornell lecture notes:
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/codependence/gnpr_distance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Implementation of distance using the Generic Non-Parametric Representation approach from "Some contributions to the
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/codependence/information.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Implementations of mutual information (I) and variation of information (VI) codependence measures from Cornell
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/codependence/optimal_transport.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Implementations of Optimal Copula Transport dependence measure proposed by Marti et al.: https://arxiv.org/abs/1610.09659
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/cointegration_approach/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Base class for cointegration approach in statistical arbitrage.
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/cointegration_approach/engle_granger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
This module implements Engle-Granger cointegration approach.
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/cointegration_approach/johansen.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
This module implements the Johansen cointegration approach.
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/cointegration_approach/signals.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Module for signal generation for Cointegration Approach.
Expand Down
3 changes: 2 additions & 1 deletion arbitragelab/distance_approach/basic_distance_approach.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Implementation of the statistical arbitrage distance approach proposed by
Gatev, E., Goetzmann, W. N., and Rouwenhorst, K. G. in
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/network/validation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
This module validates your API key. Please note that making changes to this file or any of the files in this library is
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/optimal_mean_reversion/ou_model.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

# pylint: disable=missing-module-docstring, invalid-name, too-many-instance-attributes
import warnings
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/other_approaches/kalman_filter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
This module implements Kalman filter logic in statistical arbitrage trading. Kalman trading
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/other_approaches/pca_approach.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
This module implements the PCA approach described by by Marco Avellaneda and Jeong-Hyun Lee in
Expand Down
2 changes: 1 addition & 1 deletion arbitragelab/util/generate_dataset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
This module generates synthetic classification dataset of INFORMED, REDUNDANT, and NOISE explanatory
Expand Down
2 changes: 1 addition & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Changelog
..
For Help: https://releases.readthedocs.io/en/latest/index.html

* :release:`0.1.0 <2020-11-18>`
* :feature:`2` Kalman Filter + Kalman strategy added.
* :support:`2` Kalman Filter documentation.
* :feature:`3` Landmark techniques: Engle Granger and Johansen tests for co-integration.
Expand Down
8 changes: 7 additions & 1 deletion docs/source/codependence/codependence_marti.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,10 @@ The following research notebook can be used to better understand the codependenc

* `Codependence by Marti`_

.. _`Codependence by Marti`: https://github.com/Hudson-and-Thames-Clients/arbitrage_research/blob/master/Codependence%20Module/Codependence%20by%20Marti/codependence_by_marti.ipynb
.. _`Codependence by Marti`: https://github.com/Hudson-and-Thames-Clients/arbitrage_research/blob/master/Codependence%20Module/Codependence%20by%20Marti/codependence_by_marti.ipynb

References
##########

* `Marti, G., 2017. Some contributions to the clustering of financial time series and applications to credit default swaps (Doctoral dissertation, Université Paris-Saclay (ComUE)). <https://www.researchgate.net/publication/322714557_Some_contributions_to_the_clustering_of_financial_time_series_and_applications_to_credit_default_swaps>`__
* `Marti Gautier, 2020. Measuring non-linear dependence with Optimal Transport. Available at personal blog. <https://gmarti.gitlab.io/qfin/2020/06/25/copula-optimal-transport-dependence.html>`__
9 changes: 9 additions & 0 deletions docs/source/codependence/correlation_based_metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,12 @@ The following examples show how the described above correlation-based metrics ca
# Calculate the Norm distance between two correlation matrices
dist = norm_distance(corr_18, corr_19)
References
##########
* `De Prado, M.L., 2016. Building diversified portfolios that outperform out of sample. The Journal of Portfolio Management, 42(4), pp.59-69. <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2708678>`__
* `De Prado, M.L., 2020. Codependence (Presentation Slides). Available at SSRN 3512994. <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3512994>`__
* `Johnson, D. and Sinanovic, S., 2001. Symmetrizing the kullback-leibler distance. IEEE Transactions on Information Theory. <https://scholarship.rice.edu/bitstream/handle/1911/19969/Joh2001Mar1Symmetrizi.PDF?sequence=1>`__
* `Newton, M.A., 2010. Introducing the discussion paper by Szekely and Rizzo. arXiv preprint arXiv:1010.3575. <https://arxiv.org/pdf/1010.3575>`__
* `Székely, G.J., Rizzo, M.L. and Bakirov, N.K., 2007. Measuring and testing dependence by correlation of distances. The annals of statistics, 35(6), pp.2769-2794. <https://projecteuclid.org/download/pdfview_1/euclid.aos/1201012979>`__
* `Tumminello, M., Lillo, F. and Mantegna, R.N., 2007. Kullback-Leibler distance as a measure of the information filtered from multivariate data. Physical Review E, 76(3), p.031123. <https://arxiv.org/pdf/0706.0168>`__
11 changes: 10 additions & 1 deletion docs/source/codependence/information_theory_metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ It can also be normalized using a known upper boundary:
An alternative way of estimating the Mutual information is through using copulas.
A link between Mutual information and copula entropy was presented in the paper by
`Ma, Jian & Sun, Zengqi. (2008). Mutual information is copula entropy <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3512994>`_.
`Ma, Jian & Sun, Zengqi. (2008). Mutual information is copula entropy <https://ieeexplore.ieee.org/iel5/5971803/6077925/06077935.pdf>`_.

`A blog post by Gautier Marti <https://gmarti.gitlab.io/qfin/2020/07/01/mutual-information-is-copula-entropy.html>`_
includes descriptions of two alternative estimators of copula entropy:
Expand Down Expand Up @@ -283,3 +283,12 @@ The following example highlights how the various metrics behave under various va
:alt: No Relationship

Indepedent

References
##########

* `De Prado, M.L., 2020. Codependence (Presentation Slides). Available at SSRN 3512994. <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3512994>`__
* `Hacine-Gharbi, A., Ravier, P., Harba, R. and Mohamadi, T., 2012. Low bias histogram-based estimation of mutual information for feature selection. Pattern Recognition Letters, 33(10), pp.1302-1308. <https://www.researchgate.net/publication/257014935_Low_bias_histogram-based_estimation_of_mutual_information_for_feature_selection>`__
* `Hacine-Gharbi, A. and Ravier, P., 2018. A binning formula of bi-histogram for joint entropy estimation using mean square error minimization. Pattern Recognition Letters, 101, pp.21-28. <https://www.researchgate.net/publication/320887281_A_binning_formula_of_bi-histogram_for_joint_entropy_estimation_using_mean_square_error_minimization>`__
* `Ma, J. and Sun, Z., 2011. Mutual information is copula entropy. Tsinghua Science & Technology, 16(1), pp.51-54. <https://ieeexplore.ieee.org/iel5/5971803/6077925/06077935.pdf>`__
* `Marti Gautier, 2020. Mutual Information Is Copula Entropy. Available at personal blog. <https://gmarti.gitlab.io/qfin/2020/07/01/mutual-information-is-copula-entropy.html>`__
4 changes: 2 additions & 2 deletions docs/source/codependence/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
Introduction
============

This module includes implementations of codependence metrics. According to Lopez de Prado:
This module includes implementations of codependence metrics.

"Two random variables are codependent when knowing the value of one helps us determine the value of the other.
According to Lopez de Prado: "Two random variables are codependent when knowing the value of one helps us determine the value of the other.
This should not be confounded with the notion of causality."

Pearson correlation coefficient is the most famous and widely used measure of codependence, however, it has some drawbacks.
Expand Down
8 changes: 7 additions & 1 deletion docs/source/codependence/optimal_transport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,10 @@ The following research notebook can be used to better understand the optimal cop

* `Optimal Transport`_

.. _`Optimal Transport`: https://github.com/Hudson-and-Thames-Clients/arbitrage_research/blob/master/Codependence%20Module/Optimal%20Transport/optimal_transport.ipynb
.. _`Optimal Transport`: https://github.com/Hudson-and-Thames-Clients/arbitrage_research/blob/master/Codependence%20Module/Optimal%20Transport/optimal_transport.ipynb

References
##########

* `Marti, G., Andler, S., Nielsen, F. and Donnat, P., 2017, February. Exploring and measuring non-linear correlations: Copulas, Lightspeed Transportation and Clustering. In NIPS 2016 Time Series Workshop (pp. 59-69). <https://arxiv.org/pdf/1610.09659.pdf>`__
* `Marti Gautier, 2020. Measuring non-linear dependence with Optimal Transport. Available at personal blog. <https://gmarti.gitlab.io/qfin/2020/06/25/copula-optimal-transport-dependence.html>`__
7 changes: 6 additions & 1 deletion docs/source/cointegration_approach/trading_strategies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
Trading Strategies
==================

The following are some strategies for trading the spread.These descriptions closely follow the book by Ernest P. Chan: `Algorithmic Trading: Winning Strategies and Their Rationale <https://www.wiley.com/en-us/Algorithmic+Trading%3A+Winning+Strategies+and+Their+Rationale-p-9781118460146>`__.
The following are some strategies for trading the spread.

.. note::
These descriptions closely follow the book by Ernest P. Chan:
`Algorithmic Trading: Winning Strategies and Their Rationale <https://www.wiley.com/en-us/Algorithmic+Trading%3A+Winning+Strategies+and+Their+Rationale-p-9781118460146>`__.


Linear Trading Strategy
#######################
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Hudson & Thames Quantitative Research'

# The full version, including alpha/beta/rc tags
release = '0.0.1'
release = '0.1.0'


# -- General configuration ---------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/source/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Accept all the requests to install.

.. code-block::
pip install git+https://1fed2947109cfffdd6aaf615ea84a82be897c4b9@github.com/hudson-and-thames/arbitragelab.git@master
pip install git+https://1fed2947109cfffdd6aaf615ea84a82be897c4b9@github.com/hudson-and-thames/arbitragelab.git@0.1.0
.. tip::

Expand Down Expand Up @@ -146,7 +146,7 @@ Accept all the requests to install.

.. code-block::
pip install git+https://1fed2947109cfffdd6aaf615ea84a82be897c4b9@github.com/hudson-and-thames/arbitragelab.git@master
pip install git+https://1fed2947109cfffdd6aaf615ea84a82be897c4b9@github.com/hudson-and-thames/arbitragelab.git@0.1.0
.. tip::

Expand Down Expand Up @@ -208,7 +208,7 @@ Windows

.. code-block::
pip install git+https://1fed2947109cfffdd6aaf615ea84a82be897c4b9@github.com/hudson-and-thames/arbitragelab.git@master
pip install git+https://1fed2947109cfffdd6aaf615ea84a82be897c4b9@github.com/hudson-and-thames/arbitragelab.git@0.1.0
.. tip::

Expand Down
5 changes: 5 additions & 0 deletions docs/source/optimal_mean_reversion/ou_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -609,3 +609,8 @@ The following research notebook can be used to better understand the concepts of
* `Trading Under the Ornstein-Uhlenbeck Model`_

.. _`Trading Under the Ornstein-Uhlenbeck Model`: https://github.com/Hudson-and-Thames-Clients/arbitrage_research/blob/master/Optimal%20Mean%20Reversion/ou_model.ipynb

References
##########

1. `Leung, T.S.T. and Li, X., 2015. Optimal mean reversion trading: Mathematical analysis and practical applications (Vol. 1). World Scientific. <https://www.amazon.co.uk/Optimal-Mean-Reversion-Trading-Mathematical/dp/9814725919/>`__
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ lxml==4.5.2
requests_html==0.10.0

#Develop
bump2version==1.0.1
bumpversion==0.6.0
codecov==2.0.15
coverage==4.5.2
pylint==2.5.3
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = arbitragelab
version = 0.0.1
version = 0.1.0
author = Hudson and Thames Quantitative Research
author_email = research@hudsonthames.org
licence = All Rights Reserved
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@

# Bump version
# bumpversion major/minor/patch --allow-dirty
# git push origin [0.1.0]

3 changes: 2 additions & 1 deletion tests/test_basic_distance_approach.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Tests the basic distance approach from the Distance Approach module of ArbitrageLab.
"""
Expand Down
6 changes: 3 additions & 3 deletions tests/test_codependence.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Test functions from codependence module.
Expand All @@ -11,9 +11,9 @@
import pandas as pd

from arbitragelab.codependence.correlation import (squared_angular_distance, angular_distance, absolute_angular_distance,
distance_correlation, kullback_leibler_distance, norm_distance)
distance_correlation, kullback_leibler_distance, norm_distance)
from arbitragelab.codependence.information import (get_mutual_info, variation_of_information_score,
get_optimal_number_of_bins)
get_optimal_number_of_bins)
from arbitragelab.codependence.codependence_matrix import (get_dependence_matrix, get_distance_matrix)
from arbitragelab.codependence.gnpr_distance import (spearmans_rho, gpr_distance, gnpr_distance)
from arbitragelab.codependence.optimal_transport import optimal_transport_dependence
Expand Down
3 changes: 2 additions & 1 deletion tests/test_kalman_filter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Tests the Kalman Filter Strategy from the Other Approaches module.
"""
Expand Down
3 changes: 2 additions & 1 deletion tests/test_mean_reversion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Tests function of Statistical Arbitrage Cointegration module:
cointegration_approach/base.py, engle_granger.py, johansen.py, signals.py
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ou_model.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Test functions from the OU-model of the Optimal Mean Reversion module.
Expand Down
3 changes: 2 additions & 1 deletion tests/test_pca_approach.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2019, Hudson and Thames Quantitative Research
# All rights reserved
# Read more: https://github.com/hudson-and-thames/mlfinlab/blob/master/LICENSE.txt
# Read more: https://hudson-and-thames-arbitragelab.readthedocs-hosted.com/en/latest/additional_information/license.html

"""
Tests the PCA Strategy from the Other Approaches module.
"""
Expand Down

0 comments on commit 8a98d2e

Please sign in to comment.