This blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
http://blog.xeiam.com
and update your bookmarks.

Showing posts with label Release. Show all posts
Showing posts with label Release. Show all posts

Saturday, April 27, 2013

XChange 1.6.0 Released!

Our Financial Exchange Library for Java, XChange, has seen a lot of active development, mainly improvements and bug fixes, since the previous release in early March 2013. Ironically, we had to remove the three exchanges we added in the previous release: Bitcoin-24, Bitfloor, and BitcoinCentral as they either indefinitely or permanently shut their doors. There were a total of 75 commits in this release and we've seen the number of forks and contributions from new people skyrocket.

One major area of improvement within XChange was the streaming data capabilities via Websockets. We ditched the buggy socket.io code we had and refactored everything to use the 3rd-party project Java-Websockets, which coincidentally was finally mavenized. We also added a mechanism called "ReconnectService" that attempts to establish a new connection if any type of websocket error occurs and streaming is interrupted. It also appears that MtGox updated their streaming infrastructure and it is working better than ever. Before it was pretty much unusable, and now it's actually quite impressive. To see it yourself, just run MtGoxWebSocketMarketDataDemo.java.

The polling mechanism we use to fetch JSON over HTTP was also stripped out of XChange and encapsulated into its own project. Mmazi created this new project called ResCU, and XChange now depends on its first version.

To see a full list of all the changes in this release as well as download the jars, please visit the XChange Change Log page.

Here's a list of the currently supported exchanges. More detailed info can be found here, which includes planned future exchange implementations.
  • MtGox - polling and streaming market data, authenticated trading
  • Bitstamp - polling market data, authenticated trading
  • BTC-E - polling market data, authenticated trading
  • VirtEx - polling market data
  • CampBX - polling market, trading, and account data
  • BitcoinCharts - polling market data (Bitcoin Exchange Rates)
  • OpenExchangeRates - polling market data (Fiat Currency Exchange Rates)
To finish off this release announcement, we leave you with a screenshot of Mt Gox's market depth or "order book" generated using XChange. The code to generate this plot can see seen here on Github. The charting library used to make the plot is XChart.

 

Sunday, March 10, 2013

XChange 1.5.0 Released!

Our Financial Exchange Library for Java, XChange, has seen a lot of active development since the previous release in January 2013. We added three more exchanges bringing the total exchanges covered to ten! A big thanks to mmazi and veken0m for their efforts! In addition to the new three exchanges: Bitcoin-24, Bitfloor, and BitcoinCentral, trading and account data was added to the CampBX exchange. Furthermore, several small behind-the-scenes improvements and minor bug fixes were added.

 The next major area of improvement within XChange is going to be our streaming data capabilities via Socket.io and Websockets. After this is cleaned up and made more robust, we plan on implementing the streaming APIs of the current exchanges. This will allow for more complex trading bot systems to be built using XChange.

 The polling mechanism we use to fetch JSON over HTTP is going to be stripped out of XChange and encapsulated into its own project. Mmazi created a new project called ResCU, and he will be repackaging and adding features to this super lightweight REST client library. We're looking forward to using ResCU in the future and perhaps our next XChange release will depend on the first version of ResCU. Here's a list of the currently supported exchanges. More detailed info can be found here, which includes planned future exchange implementations.
  • Bitcoin24 - polling market, trading, and account data
  • BitconCentral - polling market, trading, and account data
  • Bitfloor - polling market data
  • MtGox - polling and streaming market data, authenticated trading
  • Bitstamp - polling market data, authenticated trading
  • BTC-E - polling market data, authenticated trading
  • VirtEx - polling market data
  • CampBX - polling market, trading, and account data
  • BitcoinCharts - polling market data (Bitcoin Exchange Rates)
  • OpenExchangeRates - polling market data (Fiat Currency Exchange Rates)
To finish off this release announcement, we leave you with a screenshot of Mt Gox's market depth or "order book" generated using XChange. The code to generate this plot can see seen here on Github. The charting library used to make the plot is XChart.

 

Tuesday, March 5, 2013

XChart 2.0.0 Released!

Alert! A couple bugs were reported int the 2.0.0 release. Version 2.1.0 with these important bugs fixes is now available here: http://xeiam.com/xchart.jsp. Follow us on Twitter for release announcements.

XChart, A Simple Charting Library for Java, licensed under the Apache 2.0 license, version 2.0.0 was released today! This release brings many exciting features most notably bar charts, themes, and logarithmic axes. The current features of the XChart library include:
  • No additional dependencies
  • ~85KB Jar
  • Line charts
  • Scatter charts
  • Area Charts
  • Bar Charts
  • Error bars
  • Logarithmic axes
  • Date and category X-Axis
  • Multiple series
  • Extensive customization
  • Themes
  • Right-click, Save-As...
  • User-defined axes range
  • Custom legend placement
A Swing demo is also available for download along with the main xchart jar here. To run the demo from the command line type the following:
 cd /path/to/xchart-demo/jar/  
 java -cp xchart-demo-2.0.0.jar:xchart-2.0.0.jar com.xeiam.xchart.demo.XChartDemo  
Following is a sampling of some of the charts from the demo app...