public void TickerSymbolChanged(string newTickerSymbol) { MarketHistoryCollection newHistoryCollection = marketHistoryService.GetPriceHistory(newTickerSymbol); TickerSymbol = newTickerSymbol; HistoryCollection = newHistoryCollection; }
public void OnTickerSymbolSelected(string tickerSymbol) { MarketHistoryCollection historyCollection = _marketHistoryService.GetPriceHistory(tickerSymbol); View.UpdateLineChart(historyCollection); View.SetChartTitle(tickerSymbol); }