public IEnumerable <Order> LoadPendingOrders(string exchangeId) { if (fundid != null) { return(client.GetPendingOrders(fundid, exchangeId)); } else { return(new List <Order>()); } }