buildRatio function

construct price ratios of 2 instruments