piotroski

Classes

Piotroski

A class to represent the Piotroski F-Score, a financial metric used to evaluate the strength of a company's financial position.

Module Contents

class piotroski.Piotroski(data)

Bases: trading.src.features.generic_features.Feature

A class to represent the Piotroski F-Score, a financial metric used to evaluate the strength of a company’s financial position.

data
calculate_score()

Calculates the Piotroski F-Score based on the provided financial data.

Returns:

The Piotroski F-Score as an integer.