[enh] smarter currency query parse