trade matching code & 3rd type of containers; all in flux
warning: internal metadex types are still being renamed