feed: make price typecheck less strict

The price conversion is now able to deal with subclasses of int, float,
str and not only the exact types.

This gives greater flexibility when working with subclasses, as you do not have to explicitly convert to the corresponding supertype.