def _normalize(row):
    total = row.abs().sum()
    proportion = row/total
    return proportion
@summary Normalize an allocation row based on sum(abs(alloc))
dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/QSTK/qstksim/tradesim.py/_normalize