The Augmented Dickey-Fuller (ADF) test is a hypothesis test that tests for the presence of a unit root in a time series. The test is based on a regression analysis of a time series model that may contain a constant term for drift and a trend term. If two or more time series are individually integrated (in the time series sense) but some linear combination of them has a lower order of integration, then the series are said to be cointegrated: this is the aim of the script. Follow the comments in the code :-) Good luck MaxAmbrogi
-
Notifications
You must be signed in to change notification settings - Fork 0
maxambrogi/PairsTrading
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cointegration test for pairs trading between two time series.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published