XChange is a Java library providing a streamlined API for interacting with 50+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
Java
Latest commit 8fdfd8b Dec 2, 2016 @timmolter committed on GitHub Merge pull request #1348 from andre77/bitfinex-deposit_withdrawal_his…
…tory

Bitfinex deposit withdrawal history
Permalink
Failed to load latest commit information.
etc removed unecessary files [ci skip] May 30, 2015
xchange-anx [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitbay [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitcoinaverage [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitcoincharts [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitcoinde [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitcoinium [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitcurex [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitfinex added Deposit Withdrawal History Dec 2, 2016
xchange-bitkonan [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitmarket [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitso [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bitstamp [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bittrex [bittrex] changed date parsing Nov 7, 2016
xchange-bleutrade [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-blockchain [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-btc38 [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-btcchina [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-btce [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-btcmarkets [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-btctrade [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-bter [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-campbx [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-ccex [CCEX] Implemented all API-s! Nov 10, 2016
xchange-cexio [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-chbtc [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-coinbase Fix transfer/order id for Coinbase; see https://community.coinbase.co… Oct 19, 2016
xchange-coinmate [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-core [bitfinex, kraken, core] added flags to Bitfinex and Kraken, hasFlag … Nov 5, 2016
xchange-cryptofacilities [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-cryptonit [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-empoex [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-examples Merge pull request #1 from timmolter/develop Nov 10, 2016
xchange-gatecoin [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-gdax Issue #1329 GDAXAdapters.java #L63 Nov 20, 2016
xchange-gemini [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-hitbtc [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-huobi [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-independentreserve [independentreserve] add transactions Nov 22, 2016
xchange-itbit [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-jubi [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-kraken Adding better estimates for minimum trade amounts for Kraken. These a… Nov 21, 2016
xchange-lakebtc [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-livecoin [Livecoin] Added level option to OrderBook. Nov 3, 2016
xchange-loyalbit [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-mercadobitcoin [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-okcoin [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-openexchangerates [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-paymium [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-poloniex [poloniex] error handling for 'returnDepositsWithdrawals' Nov 13, 2016
xchange-quadrigacx synchronize the usage of SimpleDateFormat instead of creating new ins… Nov 2, 2016
xchange-quoine [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-ripple [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-taurus [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-therock access methods for TheRockTransaction.TransferDetail Dec 2, 2016
xchange-vaultoro [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-vircurex [maven-release-plugin] prepare for next development iteration Oct 17, 2016
xchange-yobit [YoBit] Added level option to OrderBook. Nov 3, 2016
.gitignore com.xeiam ==> org.knowm namespace refactor (sorry for the inconvenien… Apr 12, 2016
.travis.yml update travis file for new deploy repos Apr 12, 2016
CONTRIBUTORS updated CONTRIBUTORS file Oct 14, 2016
LICENSE update license and contributors file Sep 23, 2015
README.md readme update Oct 17, 2016
pom.xml Added new exchange - YoBit: Oct 27, 2016

README.md

XChange XChange

XChange is a Java library providing a simple and consistent API for interacting with 50+ Bitcoin and other crypto currency exchanges providing a consistent interface for trading and accessing market data.

Important!

The world of Bitcoin changes quickly and XChange is no exception. The best way to stay updated on important announcements is to follow tweets on Knowm's Twitter page. For the latest bugfixes and features you should use the snapshot jars or build yourself from the DEVELOP branch. See below for more details about building with Maven. To report bugs and see what issues people are currently working on see the issues page. There are also most likely some open bounties to be had as well.

Description

XChange is a library providing a simple and consistent API for interacting with a diverse set of crypto currency exchanges, including support for Bitcoin.

A complete list of implemented exchanges, data providers and brokers can be found on our Exchange Support page.

Usage is very simple: Create an Exchange instance, get the appropriate service, and request data.

Example

Exchange bitstamp = ExchangeFactory.INSTANCE.createExchange(BitstampExchange.class.getName());

PollingMarketDataService marketDataService = bitstamp.getPollingMarketDataService();

Ticker ticker = marketDataService.getTicker(CurrencyPair.BTC_USD);

System.out.println(ticker.toString());

All exchange implementations expose the same API, but you can also directly access the underlying "raw" data from the individual exchanges if you need to.

Now go ahead and study some more examples, download the thing and provide feedback.

Features

  • MIT license
  • consistent API across all implemented exchanges
  • active development
  • very minimal 3rd party dependencies
  • modular components
  • polling capability (no streaming)

More Info

Project Site: http://knowm.org/open-source/xchange
Example Code: http://knowm.org/open-source/xchange/xchange-example-code
Change Log: http://knowm.org/open-source/xchange/xchange-change-log/
Java Docs: http://knowm.org/javadocs/xchange/index.html

Wiki

Home: https://github.com/timmolter/XChange/wiki
Design Notes: https://github.com/timmolter/XChange/wiki/Design-Notes
Milestones: https://github.com/timmolter/XChange/wiki/Milestones
Exchange Support: https://github.com/timmolter/XChange/wiki/Exchange-support
New Implementation Best Practices: https://github.com/timmolter/XChange/wiki/New-Implementation-Best-Practices Installing SSL Certificates into TrustStore: https://github.com/timmolter/XChange/wiki/Installing-SSL-Certificates-into-TrustStore Getting Started with XChange for Noobies: https://github.com/timmolter/XChange/wiki/Getting-Started-with-XChange-for-Noobies

Continuous Integration

Build Status
Build History

Getting Started

Non-Maven

Download XChange Release Jars: http://search.maven.org/#search%7Cga%7C1%7Cknowm%20xchange

Download XChange Snapshot Jars: https://oss.sonatype.org/content/groups/public/org/knowm/xchange/

Maven

The XChange release artifacts are hosted on Maven Central.

Add the following dependencies in your pom.xml file. You will need at least xchange-core. Add the additional dependencies for the exchange modules you are interested in (XYZ shown only for a placeholder). There is example code for all the modules in xchange-examples.

<dependency>
  <groupId>org.knowm.xchange</groupId>
  <artifactId>xchange-core</artifactId>
  <version>4.1.0</version>
</dependency>
<dependency>
  <groupId>org.knowm.xchange</groupId>
  <artifactId>xchange-examples</artifactId>
  <version>4.1.0</version>
</dependency>
<dependency>
  <groupId>org.knowm.xchange</groupId>
  <artifactId>xchange-XYZ</artifactId>
  <version>4.1.0</version>
</dependency>

For snapshots, add the following repository to your pom.xml file.

<repository>
  <id>sonatype-oss-snapshot</id>
  <snapshots/>
  <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>

The current snapshot version is:

4.1.1-SNAPSHOT

Building with Maven

run unit tests: mvn clean test
run unit and integration tests: mvn clean verify -DskipIntegrationTests=false
install in local Maven repo: mvn clean install
create project javadocs: mvn javadoc:aggregate
generate dependency tree: mvn dependency:tree

Bugs

Please report any bugs or submit feature requests to XChange's Github issue tracker.

Contributing

If you'd like to submit a new implementation for another exchange, please take a look at New Implementation Best Practices first, as there are lots of time-saving tips!

For more information such as a contributor list and a list of known projects depending on XChange, visit the Main Project Wiki.

Donations

Donate with Bitcoin: 1JVyTP9v9z54dALuhDTZDQfS6FUjcKjPgZ

All donations will be used to pay bounties for new features, refactoring, etc. Please consider donating or even posting your own bounties on our Issues Page. Open bounties and bounties paid thus far can be found on knowm's bounties page.