Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pairlink-0.0.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pairlink-0.0.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page