First commit of the trade validation module