updated parameter parsing and added CancelActiveOffersByCurrency function