Java

Algobox, open source algorithmic trading platform

It's out! After months of hard work I am proud of publishing the open source algorithmic trading platform I have been working on, Algobox https://github.com/melphi/algobox.

An algorithmic trading platform is a very challenging software, a mixture of Big Data, Data Integration and Machine Learning technologies. 

XStream UnknownFieldException: Skip unmapped tags while parsing XML

tags: 

By default XStream requires the developer to declare a property for each possible XML tag. For example if the XML file contains the tag X but the Java class doesn't, the parser will generate and UnknownFieldException

com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field ...

To skip unmapped tags we can use the following code (it also works with implicit collections):

Now in London!

It has been a long time since the last post, now I'm in London working on exiting projects for very big companies!

My current project is the design and development of a visual statistical enviroment with R-Project as backend. I hope the company I'm working for will release it as an Open Source tool for complex Data Mining analysis. 

Use Java beans as Jasper Reports data source with JRBeanCollectionDataSource

As you can see in iReport, Jasper Reports provides support for several data source types.

 Jasper Reports JRBeanCollectionDataSource

JRBeanCollectionDataSource is a convenient way to use Java beans collections in a Jasper Reports. For example suppose you have a Person bean and a class that returns a collection of Java beans: