Skip to main content

Alpha#60

Type: alpha_60 • Category: indicators

Description

Alpha#60 - scaled rank differences.

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringprice datano
closestringselect the column with closing pricesno
lowstringselect the column with lowest pricesno
highstringselect the column with highest pricesno
volumestringselect the column with volumeno

Help

Alpha#60

Description

Alpha#60 is an indicator from Alpha 101, a set of formulaic alphas used in investing strategies. This indicator calculates scaled rank differences.

What does this worker do?

The Alpha#60 worker calculates the scaled rank differences based on the provided price data, including closing, lowest, highest prices, and volume.

How to interpret the results

The results of the Alpha#60 worker can be used to identify potential investment opportunities. A higher value indicates a greater difference in rank, which may suggest a stronger trend or reversal.

Parameters

List of Parameters

ParameterTypeDescription
dataExpDataFramePrice data
closestringColumn with closing prices
lowstringColumn with lowest prices
highstringColumn with highest prices
volumestringColumn with volume

Usage

To use the Alpha#60 worker, simply provide the required parameters:

  • dataExp: The price data DataFrame.
  • close, low, high, and volume: The respective column names in the dataExp DataFrame.

Example

Here is an example of how to use the Alpha#60 worker:

# Import necessary libraries
import pandas as pd

# Load price data
dataExp = pd.read_csv('price_data.csv')

# Define column names
close = 'close'
low = 'low'
high = 'high'
volume = 'volume'

# Create and run the Alpha#60 worker
alpha60 = Alpha60(dataExp, close, low, high, volume)
result = alpha60.run()

Visualizing the Indicator

The following GIFs demonstrate how to use the Alpha#60 worker:

Full GIF

Short GIF

Publication

For more information on Alpha 101 and the 101 Formulaic Alphas, please refer to the publication:

101 Formulaic Alphas by Zura Kakushadze.