Function getOpenOrdersForCurrency