public bool UpdateArbitrageOrderBook() { if (IsUpdatingOrderBook) { return(true); } try { IsUpdatingOrderBook = true; return(Exchange.UpdateArbitrageOrderBook(this, OrderBook.Depth)); } finally { IsUpdatingOrderBook = false; } }
public bool UpdateArbitrageOrderBook() { if (IsUpdatingOrderBook) { return(true); } try { IsUpdatingOrderBook = true; return(Exchange.UpdateArbitrageOrderBook(this, OrderBook.Depth)); } finally { IsUpdatingOrderBook = false; } }