public void QueryHistory() { while (running) { List <TradeHistory> histories = currentExchange.GetHistory(coin1, coin2); controller.NotifyHistoryChanged(histories); Thread.Sleep(1000); } }