trading exchange prototype