Static rates are available on http://arka.foi.hr/~zantolov/dstg/rates.json. Bellman Ford algorithm is used in order to find optimal currency arbitrage cycle.
We've used this source file: https://gist.github.com/etrain/5736212 with minor modifications