update calculate test swap ring profitable fund