def get_winning_days( rets):
    negative_rets = []
    for i in rets:
        if(i<0):
            negative_rets.append(i)
    return 100 * (1 - float(len(negative_rets)) / float(len(rets)))
Test dvr agents configured with "dvr" only, as opposed to "dvr_snat",
dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/QSTK/qstkutil/tsutil.py/get_winning_days--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/db/test_l3_hamode_db.py/L3HATestCase.test_exclude_dvr_agents_for_ha_candidates