Lightlines
By himself65

stock-correlation

himself653.2k installs

See which stocks move together, and when.

What it does

Finds stocks that move together and measures their pairwise, group, and time-varying relationships using historical prices.

When to use it

Use for requests about correlated stocks, sector peers, hedging pairs, relative performance, correlation matrices, or changing correlations.

How to use it

Give it stock tickers or a stock group; it returns correlated peers, relationship statistics, a correlation matrix, or time-varying correlation analysis.

What you provide

  • stock tickers or a stock group

Uses

Latest review

What you need · 5

Requires Python 3.8 or newer.

Uses yfinance to retrieve financial data and automatically installs it if absent.


Access · 4

This skill

Yahoo Finance

Read

Retrieves stock prices and company information

yfinance

Execute

Installs yfinance if missing