TradeAPI

Hi, I tried my hand at implementing the TradeAPI.