Implemented reading in trades. (tests too).