Added support for trading

The API should be fully functional now, but I did not have the
opportunity to test functions which require authentication due to the
lack of my API keys.