/bitfinex-v2-wss-api-java

Java implementation of the Bitfinex v2 Websocket API

Primary LanguageJavaApache License 2.0Apache-2.0

crypto-bot

Build Status Maven Central Version Coverity Scan Build Status Join the chat at https://gitter.im/bitfinex-v2-wss-api-java/Lobby

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.

Contact / Stay informed

Adding the library to your project

Add this to your pom.xml

<dependency>
	<groupId>com.github.jnidzwetzki</groupId>
	<artifactId>bitfinex-v2-wss-api</artifactId>
	<version>0.5.5</version>
</dependency>

Changelog

You will find the changelog of the project here.

Examples

You will find some examples here.