Some ruby scripts to analyse finance data