Skip to main content

Alpha#101

Type: alpha_101 • Category: indicators

Description​

Alpha#101 - body ratio.

Parameters​

NameTypeDescriptionRequiredDefault
dataExpstringprice datano
closestringselect the column with closing pricesno
openstringselect the column with opening pricesno
highstringselect the column with highest pricesno
lowstringselect the column with lowest pricesno

Help​

Alpha#101

Description​

Alpha#101 is an indicator used in investing strategy, specifically one of the 101 Formulaic Alphas. This indicator calculates the body ratio of a candlestick chart.

What does this worker do?​

The Alpha#101 worker calculates the body ratio of a candlestick chart using the provided price data. The body ratio is calculated as the ratio of the body of the candlestick to its total range.

How to interpret the results​

The body ratio can be used to analyze the price action of a security. A higher body ratio indicates a larger body compared to the total range, which can be a sign of strong buying or selling pressure.

Parameters​

The following parameters are required to use the Alpha#101 worker:

  • dataExp: price data
    • Type: DataFrame
    • Description: The input price data.
  • close: select the column with closing prices
    • Type: String
    • Description: The column name of the closing prices in the dataExp DataFrame.
  • open: select the column with opening prices
    • Type: String
    • Description: The column name of the opening prices in the dataExp DataFrame.
  • high: select the column with highest prices
    • Type: String
    • Description: The column name of the highest prices in the dataExp DataFrame.
  • low: select the column with lowest prices
    • Type: String
    • Description: The column name of the lowest prices in the dataExp DataFrame.

Usage​

To use the Alpha#101 worker, simply provide the required parameters and run the worker. The worker will calculate the body ratio and return the result.

Visualizing the Indicator​

The following images demonstrate how to use the Alpha#101 worker:

Full GIF Short GIF

Reference​

For more information on the 101 Formulaic Alphas, please refer to the publication by Zura Kakushadze: