A package for statistical analysis and testing of relationships between 2 time series.
Project description
PairLink
Description
PairLink is a diagnostic tool designed to evaluate the statistical relationship between two time series.
It provides an assessment of their stationarity, cointegration, distributional characteristics, and mean-reverting behavior.
Installation
You can install PairLink via pip:
pip install pairlink
Usage
Here is a simple example to identify frequent price levels from your price data:
import yfinance as yf
from pairlink import preprocess_series, pairlink_test
df = yf.download(tickers=['AAPL','MSFT'], interval='1D')
y, x = preprocess_series(series1=df['Close']['AAPL'], series2=df['Close']['MSFT'])
results = pairlink_test(y,x)
Author
Anthony Gocmen - email
WebSite: developexx
License
This project is licensed under the MIT License - see MIT for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pairlink-0.0.3.tar.gz.
File metadata
- Download URL: pairlink-0.0.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37dfb65fd840b53170a3b411323d5f2d3b14cf63ac37c45cc79598e8d6b22e7a
|
|
| MD5 |
cbbfa6d06265093e247478438b65630c
|
|
| BLAKE2b-256 |
8c74a114a7792f70f0b4c38e0accf66610b364421a4205067f8beb9e6c153ddb
|
File details
Details for the file pairlink-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pairlink-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
615daec82457b89f3b18cc3cba118351d54f97021ab7ba24cb9bded0c2c19323
|
|
| MD5 |
b17b228e8cd2e806943b4d42e7cbc7c5
|
|
| BLAKE2b-256 |
b24894b09632011a11d4676fc3f60ce4a897711c4a057cf01737a23480a47225
|