def METHOD_NAME(
    self,
    net_size: Decimal,
) -> PositionSide:
    if net_size > 0:
        return PositionSide.LONG
    elif net_size < 0:
        return PositionSide.SHORT
    else:
        return PositionSide.FLAT