def scale_qtys(x, n):
    """
    Will create a list of qtys on both long and short
    side that scale additively i.e.
    [5, 4, 3, 2, 1, -1, -2, -3, -4, -5].

    x: How much of your balance to use.
    n: Number of orders.
    """
    n_ = x / ((n + n ** 2) / 2)
    long_qtys = [int(n_ * i) for i in reversed(range(1, n + 1))]
    short_qtys = [-i for i in long_qtys]
    return long_qtys + short_qtys[::-1]