CCob / bittrex4j

Java library for accessing the Bittrex Web API's and Web Sockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extending the library for other exchanges

cymp opened this issue · comments

commented

Hello,

Would you have any guidelines if one wants to extend this library to another signalR exchange?

Thanks

Hi There,

Take a look at my fork of the original signalr library by Microsoft - https://github.com/signalr4j/signalr4j. I wouldn't use their original one as it hasn't been maintained and didn't work correctly. The fork I made is not much better, but at least it was fixed and the web sockets transport mechanism now works.

SignalR concepts should be the same, so you'll need to create a HubConnection the exchange in question. The hub name and events and methods are likely to be different of course.

Hope that helps.

commented

Hi @CCob, I read somewhere that you would be fine getting paid to develop a similar library for another exchange. What would be your price for Cryptopia?

Hi cymp, I tend to charge $100/hr

commented

That doesn't tell me how much that would be :)

I can't tell you how long it would take as it depends on what you would want. Go through the commits of bittrex4j and that should give you an idea of scale. You may for example want to get the bulk of it done then take over the project from there. I would say there is at least 20 hours of coding to get the project to a usable level.

commented

Ok thanks for your estimation @CCob !

Have you seen the XChange Java library. It has a wide range of exchange support, but I don't think they support web sockets

commented

Yes, I'm quite active on this library. For its websocket part, you can check https://github.com/bitrich-info/xchange-stream.

If you are familiar with those projects, wouldn't it make more sense for you to just add cryptopia to the xchange-stream project?

commented

Sure, but I can’t find time to do it atm...