KeyMetricCalculationMethod#

API documentation for tradeexecutor.strategy.summary.KeyMetricCalculationMethod Python class in Trading Strategy framework.

class KeyMetricCalculationMethod[source]#

Bases: Enum

How this key metric is calculated.

Will have effect on the frontend displaying of the value.

__init__(*args, **kwds)#

Attributes

latest_value

We just take the latest value e.g.

historical_data

We calculae over the period of time

latest_value = 'latest_value'#

We just take the latest value e.g. for total assets

historical_data = 'historical_data'#

We calculae over the period of time