implemented bitstamp arbitrage algorithim