Infrastructure for an automated Betfair trading algorithm