WIP: adding trader api adapter