Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
XChange is a Java library providing a simple and consistent API for interacting with 60+ 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] (https://oss.sonatype.org/content/groups/public/org/knowm/xchange/) 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.
To use the private API services, AccountService and TradeService, create an ExchangeSpecification with a unique API key and secret key (in some
cases more info is required), which you obtain through the exchange's web interface. For more examples of adding the keys to the
ExchangeSpecification including storing them in a configuration file, see Frequently Asked Questions.
ExchangeSpecification exSpec = new BitstampExchange().getDefaultExchangeSpecification();
exSpec.setUserName("34387");
exSpec.setApiKey("a4SDmpl9s6xWJS5fkKRT6yn41vXuY0AM");
exSpec.setSecretKey("sisJixU6Xd0d1yr6w02EHCb9UwYzTNuj");
Exchange bitstamp = ExchangeFactory.INSTANCE.createExchange(exSpec);
// Get the account information
AccountService accountService = bitstamp.getAccountService();
AccountInfo accountInfo = accountService.getAccountInfo();
System.out.println(accountInfo.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.
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.
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
check for dependency updates: mvn versions:display-dependency-updates
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
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. Donation addresses, open bounties and bounties paid thus far can be found on Knowm's bounties page.
No homepage URL was recorded for DovAmir/XChange in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does DovAmir/XChange have any tags?
TopGit's last sync did not record any GitHub topics for DovAmir/XChange. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How many stars does DovAmir/XChange have?
DovAmir/XChange has 1 GitHub stars — refresh the page for the live number, or check github.com/DovAmir/XChange. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is DovAmir/XChange still maintained?
TopGit's metadata for DovAmir/XChange does not include a recent push date. Check the commit history on the GitHub repository page for the most authoritative activity timeline.
What language is DovAmir/XChange written in?
TopGit's last sync did not record a primary language for DovAmir/XChange. Open the repository on GitHub to see the full breakdown by file extension.
Where do I read more about DovAmir/XChange?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/DovAmir/XChange is the definitive source.
Read full README in the tab above.
Curious whether XChange is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about XChange.