Skip to main content

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


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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page