Added methods to convert some trade enums to api versions