ezyquant_execution.utils.round_100#

ezyquant_execution.utils.round_100(value: float, is_round_up: bool = False) int#

Round float to nearest 100.

Parameters:
  • value (float) – value to round

  • is_round_up (bool) – is round up if value is not in 100, else round down.

Returns:

value after rounding

Return type:

int