The API description: https://icbit.se/api
Your task is to implement the connection to this [http://socket.io] API within the given IDEA project in Java.
Proof of work is to make all given unit tests run. You can use third party libraries for e.g. WebSocket connection and JSon parsing. But all these libraries have to be added and compiled within the project from source.
The API description is not the most thorough ever. Thus, some data structures will have to be discovered by analysing the communication protocol with the server. This also means that a couple more unit tests will be added as soon as these data structures are known. Most important file to look at:
Btc.Connections.ICBIT.ICBITConnectionTest It contains the unit tests and shows how the implementation is expected to work.
I define milestones along these unit tests. Whenever you have the next test running, you send the project to me so I can verify this milestone. If its working well I will free the below percentage of the escrowed amount for this milestone for you.
5%: public void testConnect()
15%: public void testReceiveBalance()
20%: public void testReceiveOrderBook()
20%: public void testSendOrderGetReject()
10%: public void testOrderBookParsedCorrectly()
10%: public void testSendOrderCancelOrder()
20%: finishing all other milestones and yet to define unit tests/classes
If you want to be considered for this project, quote in your summary the following text by the letter (copy/paste):
To show that you know what you are doing please log into the server with this API key using Java or Java Script
and tell me the current USD account value. Doing this in Java solves already milestones 1&2.