Problem description
An identical StrEnum class is defined for both Order and Asset classes. My suggestion is to remove the definition from both classes and add it to either tools/helpers.py or tools/types.py and modify Order and Asset classes to work with the imported definition.