period_percent
double old_percent = period_percent(he, he->stat.period);
double new_percent = period_percent(pair, pair->stat.period);