def main():
    arbitrer = arbitrage.Arbitrer()
    depths = arbitrer.depths = json.load(open("speed-test.json"))
    start_time = time.time()
    testobs = TestObserver()
    arbitrer.observers = [testobs]
    arbitrer.arbitrage_opportunity("BitstampUSD", depths["BitstampUSD"]["asks"][0],
                                   "MtGoxEUR", depths["MtGoxEUR"]["asks"][0])
    # FIXME: add asserts
    elapsed = time.time() - start_time
    print(elapsed % "Time: %.3f")
dataset/ETHPy150Open maxme/bitcoin-arbitrage/arbitrage/test/arbitrage_speed_test.py/main/swapped operands of `%`