Python2 coin conversion, based around PND, but usable with other markets