implement enum for exchanges.