Playing around with writing a bitcoin trading bot for the MtGox exchange.