UpDownRatios function

calculate metrics on up and down markets for the benchmark asset