GAIA Trading Platform
A real-time stock trading platform with machine-learning price prediction and strategy optimisation.

What it is
A platform for Global Alternative Investment Associates that received live market data, predicted price movements and traded through Interactive Brokers.
My part
I designed and built the platform, first as an Eclipse RCP desktop application and then on Java EE, along with the cluster that ran the strategy optimisation.
The cluster behind it
Each stock behaves differently, so the trading algorithms were tuned per stock by evolutionary algorithms: one algorithm optimising another, mutating and testing candidates generation after generation. That takes far more computing than one machine can give, so Alex Nugent and I built our own cluster.
The photo above is one node: a micro-ATX motherboard, an AMD Phenom X4 9850 quad-core processor, a 380 W power supply and a laptop hard drive, fitted into a single drawer of an IKEA Helmer cabinet with about a millimetre to spare. Six drawers made six machines and 24 cores.
- The cabinet was on sale for $29.99. All parts together cost $2,550.11.
- Every node ran Xubuntu and booted over the network with Wake-on-LAN. The only software requirement was that it could run a Java program.
- Our jobs finished roughly 24 times faster than on a single core, so a 24-hour run took about an hour.
- Processors sat at about 30 °C idle and about 45 °C with all 24 cores at full load.
I wrote the build up as an illustrated guide on my blog, Obscured Clarity, where it became a widely read post. More about the hardware is on the Helmer Cluster page.