use currency pair specified in frontend