def synchronize_orders_twice(keeper: OasisMarketMakerKeeper): for _ in range(0, 2): keeper.synchronize_orders() keeper.order_book_manager.wait_for_stable_order_book()
def synchronize_orders_twice(keeper: OasisMarketMakerKeeper): keeper.synchronize_orders() keeper.synchronize_orders()
def synchronize_orders_once(keeper: OasisMarketMakerKeeper): keeper.synchronize_orders() keeper.order_book_manager.wait_for_stable_order_book()
def synchronize_orders_twice(keeper: OasisMarketMakerKeeper): for _ in range(0, 2): keeper.synchronize_orders() keeper.order_book_manager.wait_for_stable_order_book()