timmolter/XChange — pull request #11 by mmazi (2012-12-31 09:12:14+00:00)
Title: Added Bitstamp API

Hi,

(I requested a pull into master before, sorry; fixing this now with a pull request into the develop branch.)

I've added Bitstamp API to XChange, together with examples. Code organization is the same as with BTC-E API. Currently includes public market data only (ticker, order book, trades).

Currently it's using a dependency on [si.mazi.bitcoin:bitstamp-api](https://github.com/mmazi/bitstamp-api) (instructions included in pom).

bitstamp-api is a very small library (just the model, the intefrace, a dependency on RestEasy and a few lines of actual code) and I can merge it into XChange if that makes sense. Then it could probably use XChange's model directly which would reduce the code even more.

If this is useful, I might add user trading api etc. in the future.

Matija