This project contains a client for the Bitfinex WebSocket API (v2). At the moment, candles, ticks, executed trades and (raw) orderbook streams are supported. In addition, orders, and wallets are also implemented.
In contrast to other implementations, this project uses the WSS streaming API of Bitfinex. Most other projects are poll the REST-API periodically, which leads to delays in data processing. In this implementation, you can register callback methods on ticks, candles or orders. The callbacks are executed, as soon as new data is received from Bitfinex (see the examples section for more details).
Warning: Trading carries significant financial risk; you could lose a lot of money. If you are planning to use this software to trade, you should perform many tests and simulations first. This software is provided 'as is' and released under the Apache 2.0 license.
- You need help or do you have questions? Join our chat at gitter
- For reporting issues, visit our bug tracking system
- For contributing, see our contributing guide
Add this to your pom.xml
<dependency>
<groupId>com.github.jnidzwetzki</groupId>
<artifactId>bitfinex-v2-wss-api</artifactId>
<version>0.5.5</version>
</dependency>
You will find the changelog of the project here.
You will find some examples here.