ezyquant.backtesting.context.Context.sell_value#

Context.sell_value(value: float) float#

Calculate sell volume from the given value.

Parameters:

value (float) – value

Returns:

sell volume, always negative, not round 100

Return type:

float